Skip to content

Instantly share code, notes, and snippets.

@thatryan
thatryan / sesmail.php
Created August 8, 2017 18:14
SES mail send
<?php
// Replace us-west-2 with the AWS Region you're using for Amazon SES.
define('REGION','us-east-1');
// require REQUIRED_FILE;
require '/home/ubuntu/vendor/autoload.php';
use Aws\Ses\SesClient;
use Aws\Ses\Exception\SesException;