Skip to main content

Mandrill mail events integration

Project description

License: AGPL-3

Mandrill mail events integration

This module logs Mandrill email messages events.

Configuration

To configure this module, you need to:

  • Define an STMP server in Odoo at Settings > Technical > Email > Outgoing Mail Servers using Mandrill credentials from Mandrill settings panel (Settings > SMTP & API Credentials)

  • Define a webhook in Mandrill settings panel (Settings > Webhooks) with several triggers (Message Is Sent, Message Is Delayed, …) and ‘Post to URL’ like https://your_odoodomain.com/mandrill/event

  • Copy Webhook key and paste in your Odoo configuration file, in ‘options’ section, using ‘mandrill_webhook_key’ variable. This is optional, but recommended because it is used to validate Mandrill POST requests

Usage

When any email message is sent via Mandrill SMTP server, Odoo will add some metadata to email (Odoo DB, Odoo Model and Odoo Model record ID) using an special SMTP header (X-MC-Metadata). More info at Mandrill doc: Using Custom Message Metadata

Then when an event occurs related with that message (sent, open, click, bounce, …) Mandrill will trigger webhook configured and Odoo will log the message and the event.

In ‘Setting > Technical > Email > Mandrill emails’ you can see all messages sent using Mandrill. When clicking in one of them you’ll see message details and events related with it

In ‘Setting > Technical > Email > Mandrill events’ you can see all Mandrill events received

Try me on Runbot

For further information, please visit:

Known issues / Roadmap

  • Define actions associated with events like open/click or bounce (via configuration or via other addon)

  • Create another addon ‘mass_mailing_mandrill’ (inheriting from mass_mailing and this addon) to process bounces like mass_mailing addon does

Bug Tracker

Bugs are tracked on GitHub 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 welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This 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.

To contribute to this module, please visit http://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo8_addon_mail_mandrill-8.0.1.0.0.99.dev13-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_mail_mandrill-8.0.1.0.0.99.dev13-py2-none-any.whl
Algorithm Hash digest
SHA256 f6003af082803a17c64441ab4a3f2fa22a0165af7a9441ebc9afd1b68810f6af
MD5 b3a8e13102cccc0262c647f8569ba15a
BLAKE2b-256 d5e57668106e119c2458599f49a4d04e3bc3c174deef5d387c191c7c5b89f10a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page