Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

BSD license

The BSD license is an
open-source license.
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

  • Released: Feb 8, 2011
    Last Update: Mar 8, 2011
  • Language: PHP
    Framework: Zend Framework

Zend_Mail_Transport_AmazonSES

Zend_Mail_Transport_AmazonSES
Developed by Christopher Valles, Released Feb 8, 2011

Integration of Amazon SES with Zend_Mail via a new transport for Zend_Mail

PHP

Tags: amazon , amazon ses , aws , contest2011

This is a new transport for Zend_Mail that integrates the new Amazon Simple Email Service (SES) as a method to send the emails.

The emails are sent in Raw format and support the usual operations of Zend_Mail. 

Back to top

Usage

The usage is very simple, we just have to tell Zend_Mail to use our new transport like this:

$mail = new Zend_Mail('utf-8');
$transport = new App_Mail_Transport_AmazonSES(
     array(
        'accessKey' => 'YOUR_AWS_ACCESS_KEY',
        'privateKey' => 'YOUR_AWS_PRIVATE_KEY'
     )
);
$mail->setBodyText('Lorem Ipsum Dolo Sit Amet');
$mail->setBodyHtml('Lorem Ipsum Dolo **Sit Amet**');
$mail->setFrom('john@example.com', 'John Doe');
$mail->addTo('lorem@ipsum.com');
$mail->setSubject('Test email from Amazon SES');
$mail->send($transport);

User Reviews

No reviews have been submitted yet.

Questions & Comments


Or enter your name and Email
No comments have been posted yet.
You must be logged-in to vote. Log-in to your account or register now.