symfony/amazon-mailer
Symfony Amazon Mailer Bridge
Maintainers
Package info
github.com/symfony/amazon-mailer
Type:symfony-mailer-bridge
pkg:composer/symfony/amazon-mailer
Requires
- php: >=8.4.1
- async-aws/ses: ^1.8
- symfony/mailer: ^7.4|^8.0
Requires (Dev)
- symfony/http-client: ^7.4|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 57414cc6cb3d5be24fa2f96304cb34980d3890c3
- Fabien Potencier <fabien.woop@symfony.com>
- Symfony Community
This package is auto-updated.
Last update: 2026-06-05 06:49:39 UTC
README
Provides Amazon SES integration for Symfony Mailer.
Configuration example:
# SMTP MAILER_DSN=ses+smtp://USERNAME:PASSWORD@default:PORT?region=REGION&session_token=SESSION_TOKEN # HTTP MAILER_DSN=ses+https://ACCESS_KEY:SECRET_KEY@default?region=REGION&session_token=SESSION_TOKEN # API MAILER_DSN=ses+api://ACCESS_KEY:SECRET_KEY@default?region=REGION&session_token=SESSION_TOKEN
where:
ACCESS_KEYis your Amazon SES access key idSECRET_KEYis your Amazon SES access key secretREGIONis Amazon SES selected region (optional, defaulteu-west-1)SESSION_TOKENis your Amazon SES session token (optional)PORTis the port you want to communicate to SES with (optional, default465)
For the ses+smtp / ses+smtps schemes, the PORT value selects the TLS mode:
465and2465use implicit TLS (TLS wrapper mode);- any other port (typically
587or2587) starts in clear text and upgrades via STARTTLS. The transport enforcessetRequireTls(true)on those ports by default, so the SMTP session aborts if the server does not advertiseSTARTTLS.
Set require_tls=0 on the DSN to opt out of the STARTTLS requirement (not recommended; only useful
when an operator-controlled middlebox strips the STARTTLS extension and the network path is
trusted). Set require_tls=1 to enforce STARTTLS even on the implicit-TLS ports.
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!
