Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Drop-in replacement of PHPMailer which sends email via Amazon SES
branch: master

Merge pull request #6 from imsky/master

Add error message explanation
latest commit 6a24601fee
@aaronpk aaronpk authored


Install the AWS SDK for PHP from

The easiest way is to use their PEAR channel

# pear channel-discover

# pear install aws/sdk


First, make sure this library and the PEAR modules are in your include_path


// Create a mailer class with your Amazon ID/Secret in the constructor
$mailer = new AmazonSESMailer('your id', 'your secret');

// Then use this object like you would use PHPMailer normally!
$mailer->Subject = 'Sent from Amazon SES';
$mailer->MsgHtml('This is a test');


Compatible with AWS SDK for PHP 1.5 "Allegro" and newer.


Copyright 2011 by

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Something went wrong with that request. Please try again.