finally Amazon release an affordable bulk mail service. Amazon Simple Email Service (Amazon SES) (beta). this is very useful.
As far as pricing goes, Amazon will charge fees for the number of e-mails sent and data transfers. Pricing for SES is US$ 0.10 per thousand messages sent. A customer may also send 2,000 e-mail messages per day free of charge when these e-mails originate from Amazon EC2
here is the open source php class
http://sourceforge.net/projects/php-aws-ses/
Updates
===========
sample code
step 1
include and make a new instance of class
include_once('ses.php');
$con=new SimpleEmailService("your access key","your secretKey ");
step 2
if you are using ses first time you need to add a verified email adders to send mail from. following code will help you to add and verify email address
include_once('ses.php');
$con=new SimpleEmailService("your access key","your secretKey ");
$con->verifyEmailAddress('anilmathewm@mail.com');
once you run the code you will get a mail from amazon ses service to verify the email address by clicking a link.once you verify the code you can use the email address as sender email
step 3
if you want to check the verified email address then use the following code.
include_once('ses.php');
$con=new SimpleEmailService("your access key","your secretKey ");
$con->listVerifiedEmailAddresses();
step 4
how to send an email with Amazon Simple Email Service
include_once('ses.php');
$con=new SimpleEmailService("your access key","your secretKey ");
$con->listVerifiedEmailAddresses();
$m = new SimpleEmailServiceMessage();
$m->addTo('anilmathewm@mail.com');
$m->setFrom('anilmathewm@mail.com');
$m->setSubject('Hello, world!');
$m->setMessageFromString('This is the message body.');
$con->sendEmail($m);
NOTE:
most impotent
If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses. For more information, go to the Developer Guide.
Labels: PHP class And Utilities
Are you looking for a falsh actionscript developer for hire. then i'm ready to work :) if any one need an actionscript + php developer please let me know i'm waiting for interesting and innovative new projects
Subscribe to:
Posts (Atom)