Looking to hire Laravel developers? Try LaraJobs

laravel maintained by agentisend

Description
AgentiSend is a transactional email API for applications and AI agents: Resend-compatible requests, a send budget on every key, a kill switch, and refusals that name the fix. Laravel and Symfony Mailer transport: MAIL_MAILER=agentisend posts to POST /emails.
Author
Last update
2026/11/10 09:01 (dev-main)
License
Downloads
1

Comments
comments powered by Disqus

Send Laravel mail through an API

Register the mailer as agentisend. The transport posts each message to POST /emails. A refusal throws an exception whose fix is the API's fix field.

composer require agentisend/laravel
'mailers' => [
    'agentisend' => [
        'transport' => 'agentisend',
    ],
],
MAIL_MAILER=agentisend
AGENTISEND_API_KEY=as_your_key

The Symfony DSN and the field map are on the guide: https://agentisend.com/docs/guides/laravel#the-mail-driver