Package: odoo14-addon-mail-tracking-mailgun
This module integrates mail_tracking events with Mailgun webhooks.Mailgun (https://www.mailgun.com/) is a service that provides an e-mail
sending infrastructure through an SMTP server or via API. You can also
query that API for seeing statistics of your sent e-mails, or provide
hooks that processes the status changes in real time, which is the
function used here.Table of contentsInstallationConfigurationUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsOther creditsMaintainersInstallationIf you’re using a multi-database installation (with or without dbfilter option)
where /web/databse/selector returns a list of more than one database, then
you need to addmail_tracking_mailgunaddon to wide load addons list
(by default, onlywebaddon), setting--loadoption.Example:--load=web,mail_tracking,mail_tracking_mailgunConfigurationTo configure this module, you need to:Go to Mailgun, create an account and validate your sending domain.Go back to Odoo.Go toSettings > General Settings > Discuss > Enable mail tracking with Mailgun.Fill all the values. The only one required is the API key.Optionally clickUnregister Mailgun webhooksand accept.ClickRegister Mailgun webhooks.You can also config partner email autocheck with this system parameter:mailgun.auto_check_partner_email: Set it to True.UsageIn your mail tracking status screens (explained on modulemail_tracking), you
will see a more accurate information, like the ‘Received’ or ‘Bounced’ status,
which are not usually detected by normal SMTP servers.It’s also possible to make some checks to the partner’s email addresses against
the Mailgun API:Check if the partner’s email is in Mailgun’s bounced list.Check the validity of the partner’s mailbox.Force the partner’s email into Mailgun’s bounced list or delete from it.It’s also possible to manually check a message mailgun tracking when the webhook
couldn’t be captured. For that, go to that message tracking form, press the
buttonCheck Mailgun. It’s important to note that tracking events have quite a
short lifespan, so after 24h they won’t be recoverable.Known issues / RoadmapThere’s no support for more than one Mailgun mail server.Automate more webhook registration. It would be nice to not have to click the
“Unregister Mailgun webhooks” and “Register Mailgun webhooks” when setting up
Mailgun in Odoo. However, it doesn’t come without itsconceptual complexities.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaContributorsTecnativa:Antonio EspinosaCarlos DaudenPedro M. BaezaDavid VidalRafael BlascoErnesto TejedaJairo LlopisCarlos RocaOther creditsImagesMailgun logo:SVG Icon.MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/socialproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.