Search 1.9 billion lines of Odoo code on GitHub

mail_tracking_mailgun

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 9.0
Repository: aurestic/social
Dependencies: mail_tracking
Languages: PO File (4549, 84.3%), Python (736, 13.6%), SVG (6, 0.1%), XML (36, 0.7%), and reStructuredText (68, 1.3%)
Other branches: 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 2021_07_29/MN-3736, 8.0, 8.0-mail_restrict_auto_follower, and 8.0-social_media_pinterest
Other repositories: 2FM/social, ACCOMODATA-BVBA/social, AITIC/social, AMhadhbi/social, AdriaGForgeFlow/social, Alfa-90/social, BADEP/social, BT-fgarbely/social, BT-scchmid-test/social, BeopenMX/social, Bubbles-IT/social, CB-Gran-Canaria/social, Callino/social, Change2improve/social, ClearCorp/oca-social, CompassionCH/social, Digital5-Odoo/social, Dobtor-OCA/social, DucTruongKomit/social, ERPLibre/social, ForgeFlow/social, Gabinete-Digital/social, Glue-Software-Engineering-AG/social, Gofekra/social, Hasnur/social, ICTSTUDIO/social, ITISAG-OCA/social, Ingeos/social, Jarsa/social, JazziMc/social, Judystudy/social, KasunDA/social, Kiplangatdan/social, KomarovAlea/social, LasLabs/social, MadsackMediaStore/social, MathBenTech/social, MediaJockey/social, NL66278/social, NeatNerdPrime/social, NextERP-Romania/social, Nooka10/social, OCA-MUK/social, OCA/social, ORETEK/social, OpencloudPro/social, QubiQ/social, RLeeOSI/social, Rad0van/social, SDIsl/social, SanteLibre/social, SequarSrl/social, SeuMarco/social, SimoRubi/social, SolutionSeekers/social, StefanRijnhart/social, Studio73/social, Syci-Consulting/social, TDu/social, TRESCLOUD/social, Tecnativa/social, Tonow-c2c/social, Vauxoo/social, VisiionSolucionesTecnologicas/social, VitalPet/social, YogeshMahera-SerpentCS/social, a0c/social, aaltinisik/social, acsone/social, adhoc-dev/social, adolfoeliazat/social, adrienpeiffer/social, agenterp/social, agenterpgmbh/social, agrista/odoo-social, ajaniszewska-dev/social, akretion/social, alexlafalce/social, anderswallenquist/social, anhvu-sg/social, ansinaesmejor/social, antonyrajserpentcs/social, apachesep/social, apertoso/social, apetbiz/social, archetipo/social, aryajimbaran/social, auditum-lko/social, avoinsystems/social, ayush5198/social, bealdav/social, bishalgit/social, bitroniq/social, brain-tec/social, brainbeanapps/social, camptocamp/social, cedvict/social, celm1990/social, chacatico/social, cocox/social, coopiteasy/social, crnd-inc/social, cunguito/social, dajuayen/social, damcar/social, daramousk/social, ddico/social, denislour/social, dev00007/social, diagramsoftware/social, diegobgl/social, diggy128/social, dndoanh/social, dozymoe/social, dreispt/social, druidoo-dev/social, eLBati/social, eezee-it/social, emagdalenaC2i/social, ermannognan/social, ernestotejeda/social, eslammohamed13/social, etobella/social, eugentaga/social, exosoftware/oca-social, extrememicro/social, fmdl/social, focusate/oca-social, gab-net/social, gfcapalbo/social, git-service-it-ar/social, grindtildeath/social, gurneyalex/social, haroldtamo/social, hbrunn/social, hibou-io/oca-social, hinfo506/social, i-vyshnevska/social, iRichGit/social, igallart/social, iledarn/social, imranissufo/social, inforconseil/social, inspiredbusiness/social, isos/social, jacky82669513/social, jerrodmartin/social, jobiols/oca-social, kevin070982/social, legalsylvain/social, leonidasthe300/social, lesdekock/social, lincersolucoes/oca-social, manuelcalerosolis/social, marcozink/social, marionumza/social, markrobinson85/social, masiunas/social, mavs2011bs/social, mechsoftdigital/social, mgielissen/social, minhyk/social, mjadily/social, modoolar/social, moltisinc/social, mozaik-association/social, mpanarin/social, myceliandre/social, nilshamerlinck/social, niulinlnc/social, noorealam96/social, odoobgorg/OCA-social, odoogap/social, odoonz/social, ontruck/social, open-synergy/social, osfp-Pakistan/social, osiell/social, p-tombez/social, paulius-sladkevicius/social, pegonzalezspesol/social, phucngta/social, popama/social, pscloud/social, publidex/social, redblow/social, redcor/social, rlizana/social, rsullivan2704/social, rubensben/social, ruuter/social, sadeqamin/social, sanube/social, scbrianti/social, semamca35/social, sergiocorato/social, serpentcs-dev1/social, sewisoft/social, shiram/social, simahawk/social, skeller1/social, solarprocurement/social, sschmid-test-org/social, steingabelgaard/social, sunflowerit/social, sygel-technology/social, tafaRU/social, takinobori/oca-social, takobi-online/social, tansadio/social, tbaden/social, tegin/social, tfossoul/social, thinkopensolutions/oca-social, thinkwelltwd/social, thomaspot/social, tirma-sa/social, tosink/social, tpalan/social, tpxxx/social, tschanzt/social, ursais/social, valmarnet/social, vcloud9ray/social, versada/social, westlyou/social, x0rzkov/odoo-social, xavidj/social, xcgd/social, xduran/social, xpansa/social, y2gsmith/social, yusniermatos/social, and zestsoftware/social

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="mail-tracking-for-mailgun"></a> <h2>Mail tracking for Mailgun</h2> <p>This module integrates mail_tracking events with Mailgun webhooks.</p> <p>Mailgun (<a class="reference external" href="https://www.mailgun.com/">https://www.mailgun.com/</a>) 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.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>You must configure Mailgun webhooks in order to receive mail events:</p> <ol class="arabic simple"> <li>Got a Mailgun account and validate your sending domain.</li> <li>Go to Webhook tab and configure the below URL for each event:</li> </ol> <pre> <code lang="html">https://&lt;your_domain&gt;/mail/tracking/all/&lt;your_database&gt;</code> </pre> <p>Replace '&lt;your_domain&gt;' with your Odoo install domain name and '&lt;your_database&gt;' with your database name.</p> <p>In order to validate Mailgun webhooks you have to configure the following system parameters:</p> <ul class="simple"> <li><cite>mailgun.apikey</cite>: You can find Mailgun api_key in your validated sending domain.</li> <li><cite>mailgun.api_url</cite>: It should be fine as it is, but it could change in the future.</li> <li><cite>mailgun.domain</cite>: In case your sending domain is different from the one configured in <cite>mail.catchall.domain</cite>.</li> <li><cite>mailgun.validation_key</cite>: If you want to be able to check mail address validity you must config this parameter with your account Public Validation Key.</li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>In your mail tracking status screens (explained on module <em>mail_tracking</em>), you will see a more accurate information, like the 'Received' or 'Bounced' status, which are not usually detected by normal SMTP servers.</p> <p>It's also possible to make some checks to the partner's email addresses against the Mailgun API:</p> <ul class="simple"> <li>Check if the partner's email is in Mailgun's bounced list.</li> <li>Check the validity of the partner's mailbox.</li> <li>Force the partner's email into Mailgun's bounced list or delete from it.</li> </ul> <p>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 button <em>Check Mailgun</em>. It's important to note that tracking events have quite a short lifespan, so after 24h they won't be recoverable.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/205/9.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>There's no support for more than one Mailgun mail server.</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. 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 welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Mailgun logo: <a class="reference external" href="http://seeklogo.com/mailgun-logo-273630.html">SVG Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Antonio Espinosa &lt;<a class="reference external" href="mailto:antonio.espinosa&#64;tecnativa.com">antonio.espinosa&#64;tecnativa.com</a>&gt;</li> <li>Carlos Dauden &lt;<a class="reference external" href="mailto:carlos.dauden&#64;tecnativa.com">carlos.dauden&#64;tecnativa.com</a>&gt;</li> <li>Pedro M. Baeza &lt;<a class="reference external" href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>&gt;</li> <li>David Vidal &lt;<a class="reference external" href="mailto:david.vidal&#64;tecnativa.com">david.vidal&#64;tecnativa.com</a>&gt;</li> <li>Rafael Blasco &lt;<a class="reference external" href="mailto:rafael.blasco&#64;tecnativa.com">rafael.blasco&#64;tecnativa.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>