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.

56 lines
1.8 KiB

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