magroski / simple-ses
A quick and simple way to send emails using Amazon SES.
Installs: 13 783
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.1 || ^8
- aws/aws-sdk-php: ^3.27
Requires (Dev)
- object-calisthenics/phpcs-calisthenics-rules: ^3.1
- phpstan/phpstan: ^0.10.0
- roave/security-advisories: dev-master
- slevomat/coding-standard: 4.5
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2024-10-29 05:59:53 UTC
README
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);