symfony/azure-mailer

Symfony Microsoft Azure Mailer Bridge

Maintainers

Package info

github.com/symfony/azure-mailer

Homepage

Type:symfony-mailer-bridge

pkg:composer/symfony/azure-mailer

Transparency log

Statistics

Installs: 293 874

Dependents: 3

Suggesters: 0

Stars: 12

v8.1.0 2026-05-29 05:06 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:

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!

Resources