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/mailer: ^7.4|^8.0
Requires (Dev)
- symfony/http-client: ^7.4|^8.0
- symfony/webhook: ^7.4|^8.0
This package is auto-updated.
Last update: 2026-08-31 12:02:19 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 of the message, which the v2 API returns when
sending it, so those events can be matched with the messages you sent. This
applies to all AhaSend webhooks, whatever the transport used to send the
messages; it used to be the internal ID of the event, which is still available
in the payload under data.id.
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!