agentisend / symfony-mailer
Symfony Mailer transport that posts each message to POST /emails. DSNs: agentisend+api://KEY@default and agentisend://KEY@default.
Requires
- php: >=8.2
- symfony/mailer: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^10.5 || ^11.5
- symfony/http-client: ^6.4 || ^7.0 || ^8.0
Suggests
- symfony/http-client: The HTTP client AbstractApiTransport uses when you do not pass one.
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-27 20:02:47 UTC
README
Symfony Mailer transport. Each message is posted to POST /emails.
composer require agentisend/symfony-mailer
MAILER_DSN=agentisend+api://KEY@default MAILER_DSN=agentisend://KEY@default
agentisend:// is the same as agentisend+api://. Host default is https://api.agentisend.com. ?base_url=http://127.0.0.1:5300 replaces that host, which is how a local server is addressed.
Tag the factory so the framework mailer can see it:
services: AgentiSend\SymfonyMailer\Transport\AgentiSendTransportFactory: tags: ['mailer.transport_factory']
The package agentisend/laravel accepts the same DSNs.
Idempotency-Key is the Message-ID header, angle brackets included. A refusal throws HttpTransportException whose message is agentisend [code]: message — fix.
There is no SMTP scheme. This API has no SMTP server.