Open-Source PHP Framework - Designed for rapid development of performance-oriented scalable applications

App Directory >> Amazon Simple Email Service (Amazon SES) by Eric DavidEric David

Download this App

Requirements:
  • Amazon Web Services (AWS) account with Amazon SES enabled
package
Amazon SES
version
1.0.0
SES
Simple Email Service
license
BSD

Amazon Simple Email Service (Amazon SES)

Sends an email via Amazon SES using approximately the same method-signature as the email method that ships with Vork that sends via the PHP mail() method.

Prerequisites

Usage

For testing, it is most-practical to return the results to print_r() as the response format varies:
$args = array(
    
'to' => 'recipient@example com',
    
'from' => 'sender@example com',
    
'subject' => 'Hello World',
    
'body' => 'This arrives as <span style="color: red;">HTML</span> email',
    
'html' => true
);
$amazonSes get::component('amazonSes')->sendEmail($args);
print_r($amazonSes);


This Amazon SES Vork app is based on the Amazon SimpleEmailService class created by Dan Myers and Donovan Schonknecht.

App Files