fof / brevo-mail
Send your forum mail through the Brevo API
Package info
github.com/FriendsOfFlarum/brevo-mail
Type:flarum-extension
pkg:composer/fof/brevo-mail
Fund package maintenance!
Requires
- flarum/core: ^2.0
- symfony/brevo-mailer: ^7.4.13 || ^8.0.13
Requires (Dev)
- flarum/phpstan: ^2.0
- flarum/testing: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A Flarum extension. Send your forum's email through the Brevo (formerly Sendinblue) transactional email API.
Setup
- In Brevo, authenticate your sending domain (or verify the sender address you'll use) under Senders, Domains & Dedicated IPs.
- Create an API key under SMTP & API → API keys. Use an API key (it starts with
xkeysib-), not an SMTP key. - In your forum's admin panel, open Email, choose
brevoas the driver, paste the API key, and save. - Make sure the From address matches a verified sender or authenticated domain, then use Send Test Mail to check everything works.
Already sending through Brevo over SMTP?
We recommend switching to the API. It sends each email in a single HTTPS request instead of an SMTP conversation, works on hosts that block outgoing SMTP ports, and reports failures with clear error messages.
Switching takes a minute: install this extension, create an API key as above, then on the Email page change the driver from smtp to brevo and paste in the key. Your sender settings in Brevo stay as they are.
Installation
composer require fof/brevo-mail:"*"
Updating
composer update fof/brevo-mail:"*"
php flarum cache:clear
Links
An extension by FriendsOfFlarum.