You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.3 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ================================
  5. Mandrill mail events integration
  6. ================================
  7. This module logs Mandrill email messages events.
  8. Configuration
  9. =============
  10. To configure this module, you need to:
  11. * Define an STMP server in Odoo at Settings > Technical > Email > Outgoing Mail Servers
  12. using Mandrill credentials from Mandrill settings panel (Settings > SMTP & API Credentials)
  13. * Define a webhook in Mandrill settings panel (Settings > Webhooks) with
  14. several triggers (Message Is Sent, Message Is Delayed, ...) and 'Post to URL'
  15. like https://your_odoodomain.com/mandrill/event
  16. * Copy Webhook key and paste in your Odoo configuration file, in 'options'
  17. section, using 'mandrill_webhook_key' variable. This is optional, but
  18. recommended because it is used to validate Mandrill POST requests
  19. Usage
  20. =====
  21. When any email message is sent via Mandrill SMTP server, Odoo will add
  22. some metadata to email (Odoo DB, Odoo Model and Odoo Model record ID) using an
  23. special SMTP header (X-MC-Metadata). More info at `Mandrill doc: Using Custom Message Metadata <https://mandrill.zendesk.com/hc/en-us/articles/205582417-Using-Custom-Message-Metadata>`_
  24. Then when an event occurs related with that message (sent, open, click, bounce, ...)
  25. Mandrill will trigger webhook configured and Odoo will log the message and the event.
  26. In 'Setting > Technical > Email > Mandrill emails' you can see all messages sent
  27. using Mandrill. When clicking in one of them you'll see message details and events
  28. related with it
  29. In 'Setting > Technical > Email > Mandrill events' you can see all Mandrill events
  30. received
  31. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  32. :alt: Try me on Runbot
  33. :target: https://runbot.odoo-community.org/runbot/205/8.0
  34. For further information, please visit:
  35. * https://www.odoo.com/forum/help-1
  36. Known issues / Roadmap
  37. ======================
  38. * Define actions associated with events like open/click or bounce
  39. (via configuration or via other addon)
  40. * Create another addon 'mass_mailing_mandrill' (inheriting from mass_mailing
  41. and this addon) to process bounces like mass_mailing addon does
  42. Bug Tracker
  43. ===========
  44. Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
  45. In case of trouble, please check there if your issue has already been reported.
  46. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  47. `here <https://github.com/OCA/social/issues/new?body=module:%20mail_mandrill%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  48. Credits
  49. =======
  50. Contributors
  51. ------------
  52. * Rafael Blasco <rafabn@antiun.com>
  53. * Antonio Espinosa <antonioea@antiun.com>
  54. Maintainer
  55. ----------
  56. .. image:: https://odoo-community.org/logo.png
  57. :alt: Odoo Community Association
  58. :target: https://odoo-community.org
  59. This module is maintained by the OCA.
  60. OCA, or the Odoo Community Association, is a nonprofit organization whose
  61. mission is to support the collaborative development of Odoo features and
  62. promote its widespread use.
  63. To contribute to this module, please visit http://odoo-community.org.