<?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>Thu, 23 May 2013 12:51:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Snipe.net: Sending Mail Using PHP and Amazon SES on Centos/AWS Linux]]></title>
      <guid>http://www.phpdeveloper.org/news/19371</guid>
      <link>http://www.phpdeveloper.org/news/19371</link>
      <description><![CDATA[<p>
In <a href="http://www.snipe.net/2013/03/sending-mail-using-php-and-amazon-ses-on-centosaws-linux/">this new post</a> to her site <i>Alison</i> shows how to send emails through the Amazon <a href="http://aws.amazon.com/ses/">Simple Email Service</a> (SES) from a CentOS instance (an <a href="https://aws.amazon.com/amis">AMI</a> in this case).
</p>
<blockquote>
If you find yourself using Amazon SES for sending outgoing emails in a PHP web app, getting everything set up is much simpler than it may seem. In my case, this was on an AWS Linux image, but it will work on any Fedora/CentOS AMI. You can, of course, set up sendmail and use a proper MTA to send email from your web app, but in this case, I had inherited the requirement to set up an environment for code that was already written to use SES for outgoing email and Google Apps for incoming emails, so the actual mechanics weren't up for debate.
</blockquote>
<p>
She includes screenshots showing how to configure the SES system with your site's domains and DNS as well as the email addresses you're planning on using. She links over to the <a href="http://sourceforge.net/projects/msmtp/">MSMTP</a> software you'll need to install on your instance to make the connection and what you'll need to do to get it configured for PHP's use. A sample email script is also included to test the connection (and where to look to make sure everything worked correctly).
</p>]]></description>
      <pubDate>Wed, 27 Mar 2013 10:56:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Transactional Emails for Fun and Profit]]></title>
      <guid>http://www.phpdeveloper.org/news/17160</guid>
      <link>http://www.phpdeveloper.org/news/17160</link>
      <description><![CDATA[<p>
On the php|architect site there's a recent tutorial from <i>Cal Evans</i> about building a <a href="http://www.phparch.com/2011/11/transactional-emails-for-fun-and-profit/">transactional email system</a> with the help of a <a href="http://sourceforge.net/projects/php-aws-ses/">simple library</a> and the SES system from Amazon.
</p>
<blockquote>
I love APIs. A well-defined API can make short work of a complex problem. It's even more fun when you find a cool API with a great wrapper to make it simple to use. That's what I found when I started playing with Amazon's Simple Email Service; a tool that was easy to work with, solved a problem I needed solved, and had a simple to use PHP wrapper.
</blockquote>
<p>
Based on the <a href="http://sourceforge.net/projects/php-aws-ses/">SES library</a> by <i>Dan Meyers</i>, he includes the code to pull in a simple email template and populate it with the values you want, log in to the Amazon SES service and send the email via the remote service.
</p>]]></description>
      <pubDate>Tue, 22 Nov 2011 17:58:33 -0600</pubDate>
    </item>
  </channel>
</rss>
