Skip to content

holtkamp/Zend_Service_Amazon_Ses

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zend_Service_Amazon_Ses

Incubator for development of a new Zend Framework Simple Email Services component.

The provided code implements all the Actions oulined on the official AWS SES documentation page:
http://docs.amazonwebservices.com/ses/latest/APIReference/

Usage:

Globally Set Credentials
=======================
Zend_Service_Amazon_Ses::setKeys('aws-key', 'aws-secret-key');


SendEmail:
========================
$email = new Zend_Service_Amazon_Ses_Email();
$email->addTo('[email protected]')
    ->setFrom('[email protected]', 'My Name')
    ->setSubject('Subject')
    ->setReturnPath('[email protected]')
    ->setBodyText('Text part of email')
    ->setBodyHtml('<b>Html part of email!</b>');

$ses = new Zend_Service_Amazon_Ses();
$messageId = $ses->sendEmail($email);


SendRawEmail:
========================
$ses = new Zend_Service_Amazon_Ses();
$messageId = $ses->setRawEmail('...full email text with headers...');


Delete Verified Email:
=======================
$ses = new Zend_Service_Amazon_Ses();
$ses->deleteVerifiedEmailAddress('[email protected]');


List Verified Email Addresses
======================
$ses = new Zend_Service_Amazon_Ses();
$addresses = $ses->listVerifiedEmailAddresses();


Get Quota Information
=====================
$ses = new Zend_Service_Amazon_Ses();
$quotaArray = $ses->getSendQuota();


Verify Email Address
=====================
$ses = new Zend_Service_Amazon_Ses();
$ses->verifyEmailAddress();


Use included Mail Transport
====================
$ses = new Zend_Service_Amazon_Ses();
$transport = new Zend_Mail_Transport_AmazonSes($ses);

About

Development Space for new Zend_Service_Amazon_Ses component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%