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.

48 lines
1.8 KiB

9 years ago
9 years ago
  1. .. image:: https://itpp.dev/images/infinity-readme.png
  2. :alt: Tested and maintained by IT Projects Labs
  3. :target: https://itpp.dev
  4. Fix mail error 553
  5. ==================
  6. Module updates 'FROM' field to portal@MYDOMAIN.COM value in order to fix 553 error on a mail service that checks FROM field.
  7. E.g:
  8. * Customer send email from USER@CUSTOMER.com to info@MYDOMAIN.COM
  9. * odoo accept email and try to send notifcation to related odoo users. E.g to admin@gmail.com.
  10. * By default odoo prepare notification email with parameters as follows:
  11. * FROM: user@CUSTOMER.com
  12. * TO: admin@gmail.com
  13. if you mail service provider, e.g. pdd.yandex.ru, doesn't allow emails with a FROM value differ from ...@MYDOMAIN.COM, then you get 553. This is why you need to update FROM value to portal@MYDOMAIN.COM
  14. Configuration
  15. =============
  16. You can configure default alias at Settings -> System Parameters -> mail.catchall.alias_from
  17. You can configure name for default alias at Settings -> System Parameters -> mail.catchall.name_alias_from
  18. You can configure name for default alias at Settings -> System Parameters -> mail.catchall.name_alias_from
  19. Known issues / Roadmap
  20. ======================
  21. The module is consist of redefined send function from mail.mail
  22. model. So it is just copy pasted source code with some
  23. modification. This function is changed very rarely, but sometime it
  24. can happens and the module should be updated. You can check commits
  25. for mail_mail.py here:
  26. https://github.com/odoo/odoo/commits/8.0/addons/mail/mail_mail.py
  27. Tested on `Odoo 8.0 <https://github.com/odoo/odoo/commit/d023c079ed86468436f25da613bf486a4a17d625>`_
  28. Status
  29. ======
  30. Related issues at odoo's tracker:
  31. * https://github.com/odoo/odoo/issues/5864
  32. * https://github.com/odoo/odoo/issues/3347
  33. Fix: https://github.com/odoo-dev/odoo/commit/a4597fe34fcfa8dae28b156410080346bb33af33