Download the PHP package badams/symfony-mailer-amazon-sdk without Composer
On this page you can find all versions of the php package badams/symfony-mailer-amazon-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download badams/symfony-mailer-amazon-sdk
More information about badams/symfony-mailer-amazon-sdk
Files in badams/symfony-mailer-amazon-sdk
Package symfony-mailer-amazon-sdk
Short Description Transport for Symfony Mailer that utilizes the official Amazon SDK
License MIT
Informations about the package symfony-mailer-amazon-sdk
Symfony Mailer Amazon SDK Transport
An SES transport for the symfony/mailer package which implements support for the official aws/aws-sdk-php package. This differs from the official symfony/amazon-mailer as it relies on the official amazon sdk for authentication, meaning support for instance based authentication on EC2 instances will work out of the box.
Getting Started
Read the documentation for the symfony/mailer package.
The transport should be installed using composer.
Below is an example of manually configuring the mailer component to use this transport
Configuration
This transport supports configuration via DSN, below are example DSNs demonstrating how to configure the supported credential providers.
Authentication | Example DSN | Docs |
---|---|---|
Default Provider | ses+sdk://eu-east-1 | Link |
Static Credentials | ses+sdk://ACCESS_KEY:SECRET_KEY@eu-west-1 | Link |
Environment Variables | ses+sdk://eu-west-1?credentials=env | Link |
Instance Profile | ses+sdk://ap-south-2?credentials=instance | Link |
ECS | ses+sdk://us-east-1?credentials=ecs | Link |
SES Configuration Sets
Configuration sets are groups of rules that you can apply to the emails you send using Amazon SES. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email. For more information about specifying configuration sets in your emails, see Specifying a Configuration Set When You Send Email.
This transport supports Configuration Sets, all you need to do is specify the ConfigurationSetName
as query string parameter in your DSN like so
All versions of symfony-mailer-amazon-sdk with dependencies
symfony/mailer Version ^4.4|^5.0
aws/aws-sdk-php Version ^3.113
symfony/http-client Version ^4.4|^5.0