symfony / aha-send-mailer
Symfony AhaSend Mailer Bridge
Package info
github.com/symfony/aha-send-mailer
Type:symfony-mailer-bridge
pkg:composer/symfony/aha-send-mailer
Requires
- php: >=8.4.1
- psr/event-dispatcher: ^1
- symfony/deprecation-contracts: ^2.5|^3
- symfony/mailer: ^8.2
Requires (Dev)
- symfony/clock: ^7.4|^8.0
- symfony/http-client: ^7.4|^8.0
- symfony/webhook: ^7.4|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-13 17:31:26 UTC
README
Provides AhaSend integration for Symfony Mailer.
Configuration example:
# SMTP MAILER_DSN=ahasend+smtp://USERNAME:PASSWORD@default # API MAILER_DSN=ahasend+api://API_KEY:ACCOUNT_ID@default # API (legacy v1, deprecated) MAILER_DSN=ahasend+api://API_KEY@default
where:
USERNAMEis your AhaSend SMTP Credentials usernamePASSWORDis your AhaSend SMTP Credentials passwordAPI_KEYis your AhaSend API keyACCOUNT_IDis your AhaSend account ID; without it, the key is used with the legacy v1 API
Sending emails through the AhaSend v1 API is deprecated since Symfony 8.2. An
ahasend+api:// DSN without an account ID still selects that legacy API, but
only for the API keys created before v2: a v2 API key (prefixed with aha-sk-)
without an account ID is rejected. Use a v2 API key and add your account ID to
the DSN instead.
Note
Since Symfony 8.2, the ID of the remote events received from
AhaSend is the Message-ID header of the message, without angle brackets.
For a message sent through the v2 API or over SMTP, it is the ID that
SentMessage::getMessageId() returns. This lets you match the events with the
messages you sent. Before Symfony 8.2, the ID was the data.id field of the
payload. This field is now AhaSend's own ID for the message, the id that the
v2 API returns when sending it.
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!