<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 19:44:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ServerGrove Blog: Spooling emails with Symfony2 on VPS and Shared Hosting]]></title>
      <guid>http://www.phpdeveloper.org/news/17882</guid>
      <link>http://www.phpdeveloper.org/news/17882</link>
      <description><![CDATA[<p>
The ServerGrove blog has a recent post for the Symfony2 users out there, showing how you can <a href="http://blog.servergrove.com/2012/04/27/spooling-emails-with-symfony2-on-vps-and-shared-hosting/">spool emails on a VPS/shared hosting</a> using <a href="http://swiftmailer.org/">SwiftMailer</a> and the Symfony2 bundle to interact with it.
</p>
<blockquote>
When you send an email, the mailer communicates with a remote server in charge of receiving the message and of delivering it to the recipient. This process can cause your form to submit slowly as it depends on how fast the mail server responds. Spooling allows us to decouple the application execution line from the process of the sending one, two, or as many emails as we need.
</blockquote>
<p>
They show you how to configure the <a href="https://github.com/symfony/SwiftmailerBundle">SwiftMailerBundle</a> with the mail server's settings, how to set up the command to send the emails and the settings you'll need to put in your cron file to run the "send" operation periodically.
</p>]]></description>
      <pubDate>Mon, 30 Apr 2012 10:20:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Enrico Zimuel's Blog: Convert a spool file to PDF using PHP on i5/OS]]></title>
      <guid>http://www.phpdeveloper.org/news/13943</guid>
      <link>http://www.phpdeveloper.org/news/13943</link>
      <description><![CDATA[<p>
<i>Enrico Zimuel</i> has <a href="http://www.zimuel.it/blog/?p=360">a new post</a> to his blog today looking at the translation of a spool file on an (IBM) i5/OS machine into a PDF file using the <a href="http://www.zend.com/en/products/core/core-for-i5os">Zend Core for i5</a> from Zend.
</p>
<blockquote>
Zend Core for i5/OS provides the i5 Toolkit for PHP, an API system to call i5 functionalities from PHP. One of the function of this API is the i5_spool that is able to manage spool files for specific i5 users. In this post I present a class to convert a spool file in PDF using the Zend_Pdf class of the Zend Framework.
</blockquote>
<p>
He includes the quick twelve line code you'll need to get the job done. It reads in the spool file with some built-in functions and calls the "toPdf" method to export the result. There's also a few parameters you can include as a second parameter that let you define things like font size and margins.
</p>]]></description>
      <pubDate>Mon, 01 Feb 2010 10:20:55 -0600</pubDate>
    </item>
  </channel>
</rss>
