symfony/aha-send-mailer

Symfony AhaSend Mailer Bridge

Maintainers

Package info

github.com/symfony/aha-send-mailer

Homepage

Type:symfony-mailer-bridge

pkg:composer/symfony/aha-send-mailer

Transparency log

Statistics

Installs: 9 613

Dependents: 0

Suggesters: 0

Stars: 1

v8.1.6 2026-08-30 01:03 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:

  • USERNAME is your AhaSend SMTP Credentials username
  • PASSWORD is your AhaSend SMTP Credentials password
  • API_KEY is your AhaSend API key
  • ACCOUNT_ID is 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!

Resources