v 9.0 v 10.0 v 11.0 Third Party 1
Technical Name mailgun
LicenseSee License tab
Websitehttps://twitter.com/nasyrov_ildar
Also available in version v 11.0 v 9.0
You bought this module and need support? Click here!

Mailgun

With this module you can receive incoming messages from mailgun. There is no IMAP or POP3 servers on mailgun that is to be used with odoo. That is why we need this module. It fetches messages from mailgun using their API and stores them in odoo.

TODO

  • If emails are sent when odoo is stopped then Mailgun will retry (other than for delivery notification) during 8 hours at the following intervals before stop trying: 10 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour, 2 hour and 4 hours. This could be fixed by fetching undelivered messages after odoo starts.

Credits

Contributors

Sponsors

  • IT-Projects LLC

Further information

HTML Description: https://apps.odoo.com/apps/modules/9.0/mailgun/

Usage instructions: doc/index.rst

Changelog: doc/changelog.rst

Tested on Odoo 9.0 c8cd67c5d98b410cabe0a6efb3347a8a4de731d8

Mailgun

Usage

  • register or log in http://mailgun.com
  • On https://mailgun.com/app/domains click on you domain, e.g. sandbox123...mailgun.org domain. Here you can see all information needed to configure odoo outgoing mail feature
    • if you in sandbox domain, add Authorized Recepient
    • Copy API Key value into odoo
      • Open menu Settings / Parameters / System Parameters
      • Create new parameter
        • key: mailgun.apikey
        • Value: API Key from mailgun (key-...)
        • click Save
    • Copy smtp credentials into odoo
      • open Settings / Technical / Email / Outgoing Mail Servers
        • delete localhost
        • create new server
          • Description: mailgun
          • SMTP Server: smtp.mailgun.org
          • Connection Security: SSL/TLS
          • Username: e.g. postmaster@sandbox123....mailgun.org
          • Password: ... (copy Default Password from mailgun)
    • From odoo menu Settings / General Settings edit Alias Domain
      • Put your mailgun domain here. E.g. sandbox123...mailgun.org
      • Click 'Apply' button
  • From https://mailgun.com/cp/routes create new route
    • Priority: 0
    • Filter expression: catch_all()
    • Actions: store(notify="http://<your odoo domain>/mailgun/notify")
  • Set admin's email alias. Open menu Settings / Users / Users
    • choose your user and click [Edit]
    • On Preference tab put alias into Messaging Alias field and click [Save]. E.g. admin@sandbox...mailgun.org
  • Via your favorite mail client (e.g. gmail.com) send email to admin@sandox...mailgun.org
  • Open Discuss in odoo
  • See your message there
  • Reply to the message and check it in your mail client (e.g. gmail.com)
The MIT License (MIT)

Copyright 2020 IT-Projects Labs
Copyright 2015-2020 IT-Projects LLC
Copyright 2014-2015 Ivan Yelizariev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Works as intended for Odoo 10 Enterprise
by
Hagai Barak
on 11/29/17, 3:11 AM

Thank you, the module works and intended. Tracking should be managed with a separate module. Will this be ported to 11 anytime soon?


There are no comments yet!