Skip to content

blomstra/flarum-ext-sendgrid

Repository files navigation

Flarum-sendgrid

License Latest Stable Version Total Downloads

A Flarum extension that adds the Sendgrid driver to the mail page and allows sendgrid to suspend users whose email is bouncing and disable user notifications for email when these users mark the email as spam.

Installation

Install with composer:

composer require blomstra/sendgrid:"*"

Updating

composer update blomstra/sendgrid:"*"
php flarum migrate
php flarum cache:clear

Configuration

Select driver

Make sure to switch to the sendgrid driver on the admin Mail page.

Set up the webhook

To allow webhook integration with SendGrid, add this to your SendGrid webhook at https://app.sendgrid.com/settings/mail_settings/webhook_settings

https://your-url.test/api/flarum-sendgrid/hooks/events

You should enable "Bounced" from Deliverability Data and "Spam Reports from Engagement Data.

Links