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.

53 lines
1.7 KiB

9 years ago
  1. =========
  2. Mailgun
  3. =========
  4. Usage
  5. =====
  6. * register or log in http://mailgun.com
  7. * 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
  8. * if you in sandbox domain, add Authorized Recepient
  9. * Copy API Key value into odoo
  10. * Open menu ``Settings / Parameters / System Parameters``
  11. * Create new parameter
  12. * key: ``mailgun.apikey``
  13. * Value: API Key from mailgun (``key-...``)
  14. * click Save
  15. * Copy smtp credentials into odoo
  16. * open ``Settings / Technical / Email / Outgoing Mail Servers``
  17. * delete localhost
  18. * create new server
  19. * Description: ``mailgun``
  20. * SMTP Server: ``smtp.mailgun.org``
  21. * Connection Security: ``SSL/TLS``
  22. * Username: e.g. ``postmaster@sandbox123....mailgun.org``
  23. * Password: ``...`` (copy ``Default Password`` from mailgun)
  24. * From odoo menu ``Settings / General Settings`` edit Alias Domain
  25. * Put your mailgun domain here. E.g. sandbox123...mailgun.org
  26. * Click 'Apply' button
  27. * From https://mailgun.com/cp/routes create new route
  28. * Priority: ``0``
  29. * Filter expression: ``catch_all()``
  30. * Actions: ``store(notify="http://<your odoo domain>/mailgun/notify")``
  31. * Set admin's email alias. Open menu ``Settings / Users / Users``
  32. * choose your user and click ``[Edit]``
  33. * On Preference tab put alias into Messaging Alias field and click ``[Save]``. E.g. ``admin@sandbox...mailgun.org``
  34. * Via your favorite mail client (e.g. gmail.com) send email to ``admin@sandox...mailgun.org``
  35. * Open ``Discuss`` in odoo
  36. * See your message there
  37. * Reply to the message and check it in your mail client (e.g. gmail.com)