Skip to content

hirata/amazon-ses-transport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

amazon-ses-transport

Amazon SES Transport Class for CakePHP

This is a plugin to send email with CakeEmail using AmazonSES service.

Requirements

Installation

  • Install AWS SDK for PHP to vendor directory

  • Install AmazonSESTransport to plugin Directory

    cd app/Plugin git clone git://github.com/news2u/amazon-ses-transport.git AmazonSESTransport

Sample Code

$email = new CakeEmail();
$email->config(array(
    'transport' => 'AmazonSESTransport.AmazonSES',
    'log' => true,
    'Amazon.SES.Key' => 'Your AWS Key'
    'Amazon.SES.Secret' => 'Your AWS Secret Key'
));

$email->sender('no-reply@example.org');
$email->from('no-reply@example.org', 'Example');
$email->to('test@example.org');
$email->bcc('bcc@example.org');
$email->subject('SES Test from CakePHP');

$res = $email->send('test message.');

Author

News2u Corporation

About

Amazon SES Transport Class for CakePHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published