News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Snipe.net:
Sending Mail Using PHP and Amazon SES on Centos/AWS Linux
March 27, 2013 @ 10:56:53

In this new post to her site Alison shows how to send emails through the Amazon Simple Email Service (SES) from a CentOS instance (an AMI in this case).

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.

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 MSMTP 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).

0 comments voice your opinion now!
amazon ami ses email send centos tutorial


blog comments powered by Disqus

Similar Posts

Wojciech Sznapka's Blog: Loosening dependencies with closures in PHP

Wan Qi Chen: Background jobs with php and resque (Series, Parts 4, 5 & 6)

Slawek Lukasiewicz's Blog: Working with date and time in object oriented way

Zend Developer Zone: PHP and IBM Goodness

PHPMaster.com: Listing Packages on Packagist for Composer


Community Events

Don't see your event here?
Let us know!


extension conference unittest interview middleware wordpress framework library release development community api series language podcast opinion laravel5 voicesoftheelephpant introduction laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework