- upload the contents in this repo to mautic instalation
plugins/AFMailgunBundle
- Important: the name of the plugin directory MUST be
AFMailgunBundle
- remove cache
sudo rm -rf app/cache/*
- go to mautic settings > plugins > click
Install / Upgrade Plugin
- done.
- Choose Mailgun as the mail service, in mautic mail configuration > Email Settings.
Enter yours:
- host: smtp.mailgun.org (non EU) or smtp.eu.mailgun.org (EU)
- username e.g [email protected]
- the password (you can get these information on mailgun dashboard)
Add https://yourmautic.com/mailer/mailgun/callback
in the mailgun webhook for your selected events:
- permanent failure
- spam complaints
- temporary failure
- unsubscribes
Now your mautic will be able to send through mailgun and track email events such as bounce, failed, unsubscribe, spam according to the webhook you set in mailgun.
Muhammad Azamuddin