Skip to content

Blendtec/amazon-ses-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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 https://github.com/guywarner/amazon-ses-transport 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('[email protected]');
$email->from('[email protected]', 'Example');
$email->to('[email protected]');
$email->bcc('[email protected]');
$email->subject('SES Test from CakePHP');

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

Upgraded to AWS-PHP 2 by

CriztianiX

Author

News2u Corporation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages