Skip to content

About

Symfony Microsoft Azure Mailer Bridge

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

2 watching

Forks

Repository files navigation

Microsoft Azure Mailer

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

About

Symfony Microsoft Azure Mailer Bridge

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages