Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting up Webhooks for SparkPost
If your SMTP provider is SparkPost then you can register your Mailtrain installation to receive webhooks that notify about bounces, spam complaints and unsubscription actions.
- Log in to your SparkPost account
- Navigate to Account ⇒ Webhooks
- Click on New Webhook button to open webhook settings
- Set Target URL to
- You can keep
Events: ALLsetting but most of these events are not used by Mailtrain. To only select required events, click on
Events: SELECTand check the following events: "Bounce", "Spam Complaint", "List Unsubscribe", "Link Unsubscribe"
Once all webhooks are set up your webhooks settings should look like this (replace
http://mailtrain.org with your own domain name):