Sending Emails from Amazon SES using PHP

Here the PHP code to send emails from Amazon SES.

require_once('ses.php');

$objSes = new SimpleEmailService('accessKey', 'secretKey');

$send = new SimpleEmailServiceMessage();
$send->addTo('xxxx@example.com');
$send->setFrom('Name <yourmail@example.com>');
$send->setSubject('Amazon SES email!');
$send->setMessageFromString('Awesome, you got the email.');
$objSes->sendEmail($send);

You can get ses.php from

http://www.orderingdisorder.com/aws/ses/

!! Happy Coding !!