magroski/simple-ses

A quick and simple way to send emails using Amazon SES.

v1.0.1 2022-11-29 16:47 UTC

This package is auto-updated.

Last update: 2024-10-29 05:59:53 UTC


README

Latest Stable Version Minimum PHP Version GitHub license

This library provides a quick and simple way to send emails using Amazon SES.

Usage examples

$config = new Config('access_key', 'secret_key', 'ue-east-1');

$client = new Client($config);

# Single Recipient
$client->send('Subject', 'Body', 'recipient@cool.com');

# Multiple Recipients
$client->send('Subject', 'Body', ['recipient@cool.com', 'another@email.com']);

# Text instead of html
$client->send('Subject', 'Body', 'recipient@nice.com', true);