odoo-addon-mail-tracking-mailgun


Nameodoo-addon-mail-tracking-mailgun JSON
Version 16.0.1.0.0.6 PyPI version JSON
download
home_pagehttps://github.com/OCA/social
SummaryMail tracking and Mailgun webhooks integration
upload_time2024-02-24 06:33:08
maintainer
docs_urlNone
authorTecnativa, Odoo Community Association (OCA)
requires_python>=3.10
licenseAGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =========================
Mail tracking for Mailgun
=========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:764adcded4764f2ebb3b2834f9c9b9863f66068f3644b44fda6e123607a03092
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
    :target: https://github.com/OCA/social/tree/16.0/mail_tracking_mailgun
    :alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_tracking_mailgun
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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 contents**

.. contents::
   :local:

Installation
============

If 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 add ``mail_tracking_mailgun`` addon to wide load addons list
(by default, only ``web`` addon), setting ``--load`` option.

Example: ``--load=web,mail_tracking,mail_tracking_mailgun``

Configuration
=============

To configure this module, you need to:

#. Go to Mailgun, create an account and validate your sending domain.
#. Go back to Odoo.
#. Go to *Settings > General Settings > Discuss > Enable mail tracking with Mailgun*.
#. Fill all the values. The only one required is the API key.
#. Optionally click *Unregister Mailgun webhooks* and accept.
#. Click *Register Mailgun webhooks*.

You can also config timeout for mailgun with this system parameter:

- `mailgun.timeout`: Set it to a number of seconds.

Usage
=====

In your mail tracking status screens (explained on module *mail_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
button *Check Mailgun*. It's important to note that tracking events have quite a
short lifespan, so after 24h they won't be recoverable.

Known issues / Roadmap
======================

* There'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 its `conceptual complexities
  <https://github.com/OCA/social/pull/787#discussion_r734275262>`__.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_tracking_mailgun%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

  * Antonio Espinosa
  * Carlos Dauden
  * Pedro M. Baeza
  * David Vidal
  * Rafael Blasco
  * Ernesto Tejeda
  * Jairo Llopis
  * Carlos Roca

Other credits
~~~~~~~~~~~~~

Images
------

* Mailgun logo: `SVG Icon <http://seeklogo.com/mailgun-logo-273630.html>`_.

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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 the `OCA/social <https://github.com/OCA/social/tree/16.0/mail_tracking_mailgun>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/social",
    "name": "odoo-addon-mail-tracking-mailgun",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "Tecnativa, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "platform": null,
    "description": "=========================\nMail tracking for Mailgun\n=========================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:764adcded4764f2ebb3b2834f9c9b9863f66068f3644b44fda6e123607a03092\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n    :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github\n    :target: https://github.com/OCA/social/tree/16.0/mail_tracking_mailgun\n    :alt: OCA/social\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_tracking_mailgun\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module integrates mail_tracking events with Mailgun webhooks.\n\nMailgun (https://www.mailgun.com/) is a service that provides an e-mail\nsending infrastructure through an SMTP server or via API. You can also\nquery that API for seeing statistics of your sent e-mails, or provide\nhooks that processes the status changes in real time, which is the\nfunction used here.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nInstallation\n============\n\nIf you're using a multi-database installation (with or without dbfilter option)\nwhere /web/databse/selector returns a list of more than one database, then\nyou need to add ``mail_tracking_mailgun`` addon to wide load addons list\n(by default, only ``web`` addon), setting ``--load`` option.\n\nExample: ``--load=web,mail_tracking,mail_tracking_mailgun``\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Go to Mailgun, create an account and validate your sending domain.\n#. Go back to Odoo.\n#. Go to *Settings > General Settings > Discuss > Enable mail tracking with Mailgun*.\n#. Fill all the values. The only one required is the API key.\n#. Optionally click *Unregister Mailgun webhooks* and accept.\n#. Click *Register Mailgun webhooks*.\n\nYou can also config timeout for mailgun with this system parameter:\n\n- `mailgun.timeout`: Set it to a number of seconds.\n\nUsage\n=====\n\nIn your mail tracking status screens (explained on module *mail_tracking*), you\nwill see a more accurate information, like the 'Received' or 'Bounced' status,\nwhich are not usually detected by normal SMTP servers.\n\nIt's also possible to make some checks to the partner's email addresses against\nthe Mailgun API:\n\n- Check if the partner's email is in Mailgun's bounced list.\n- Check the validity of the partner's mailbox.\n- Force the partner's email into Mailgun's bounced list or delete from it.\n\nIt's also possible to manually check a message mailgun tracking when the webhook\ncouldn't be captured. For that, go to that message tracking form, press the\nbutton *Check Mailgun*. It's important to note that tracking events have quite a\nshort lifespan, so after 24h they won't be recoverable.\n\nKnown issues / Roadmap\n======================\n\n* There's no support for more than one Mailgun mail server.\n\n* Automate more webhook registration. It would be nice to not have to click the\n  \"Unregister Mailgun webhooks\" and \"Register Mailgun webhooks\" when setting up\n  Mailgun in Odoo. However, it doesn't come without its `conceptual complexities\n  <https://github.com/OCA/social/pull/787#discussion_r734275262>`__.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_tracking_mailgun%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Tecnativa\n\nContributors\n~~~~~~~~~~~~\n\n* `Tecnativa <https://www.tecnativa.com>`_:\n\n  * Antonio Espinosa\n  * Carlos Dauden\n  * Pedro M. Baeza\n  * David Vidal\n  * Rafael Blasco\n  * Ernesto Tejeda\n  * Jairo Llopis\n  * Carlos Roca\n\nOther credits\n~~~~~~~~~~~~~\n\nImages\n------\n\n* Mailgun logo: `SVG Icon <http://seeklogo.com/mailgun-logo-273630.html>`_.\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/mail_tracking_mailgun>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Mail tracking and Mailgun webhooks integration",
    "version": "16.0.1.0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/OCA/social"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb2ea39b376149fbbb2f770a9203ebfeb3876990f08171ed8d415153278c9fea",
                "md5": "2cb2aa8f38d679ffcca02d783c5b3dfb",
                "sha256": "0217830ea352d7bb496f69e8b23bfe26dfe022aaaaf61654b9320086e45cb34b"
            },
            "downloads": -1,
            "filename": "odoo_addon_mail_tracking_mailgun-16.0.1.0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2cb2aa8f38d679ffcca02d783c5b3dfb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 149626,
            "upload_time": "2024-02-24T06:33:08",
            "upload_time_iso_8601": "2024-02-24T06:33:08.244595Z",
            "url": "https://files.pythonhosted.org/packages/eb/2e/a39b376149fbbb2f770a9203ebfeb3876990f08171ed8d415153278c9fea/odoo_addon_mail_tracking_mailgun-16.0.1.0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-24 06:33:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "social",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "odoo-addon-mail-tracking-mailgun"
}
        
Elapsed time: 0.19634s