symfony / azure-mailer
Symfony Microsoft Azure Mailer Bridge
Package info
github.com/symfony/azure-mailer
Type:symfony-mailer-bridge
pkg:composer/symfony/azure-mailer
Requires
- php: >=8.4.1
- symfony/mailer: ^7.4|^8.0
Requires (Dev)
- symfony/http-client: ^7.4|^8.0
This package is auto-updated.
Last update: 2026-08-02 08:30:44 UTC
README
Provides Azure Communication Services Email integration for Symfony Mailer.
Configuration example:
# API MAILER_DSN=azure+api://ACS_RESOURCE_NAME:KEY@default #API with options MAILER_DSN=azure+api://ACS_RESOURCE_NAME:KEY@default?api_version=2023-03-31&disable_tracking=false
where:
ACS_RESOURCE_NAMEis your Azure Communication Services endpoint resource name (https://ACS_RESOURCE_NAME.communication.azure.com)KEYis your Azure Communication Services Email API Key
Webhook
Azure Event Grid does not sign the events it delivers. It authenticates itself either with a
Microsoft Entra bearer token, or by repeating the query parameters of the subscription URL on
every delivery. This bridge uses the second mechanism, so give the subscription URL a secret
query parameter holding the same value as the webhook secret:
https://example.com/webhook/azure?secret=THE_WEBHOOK_SECRET
Requests whose secret parameter does not match are rejected with a 401.
Event Grid's automatic subscription handshake is not supported, as it requires echoing a validation code in the response body. Register the endpoint with Event Grid's manual validation flow instead.
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!