Commit Graph

8 Commits (d1329bb808534a659436f09cf2c965dbf33a3adb)

Author SHA1 Message Date
Yoshi Tashiro bc83913e84 [FIX] Move smtp info update logic to _prepare_email_message()
Since 15.0, smtp info is prepared in _prepare_email_message() which is called
from send_email(), and the smtp info manipulation should be done in this method
instead of in send_email().
2023-01-30 16:48:20 +06:30
Denis Roussel 43be1be2a3 [14.0][FIX] mail_outbound_static: Apply pre-commit 2022-01-26 09:36:10 +02:00
Katherine Zaoral 201e35d24e new changes to squash after review:
- fix misspellings errors in documentation
- add unit test to avoid github checkers red status in codecov tests.
- add validation of email from and domain whitelist fields.
- update documentation remove roadmap for already updated functionalities.
- update translations
2022-01-26 09:36:00 +02:00
Katherine Zaoral 7a9fcb44e3 mail_outbound_static: Domain whitelist based logic. 2022-01-26 09:35:49 +02:00
eLBati 4c2f1c6e1b [FIX] 13.0 mail_outbound_static
use sudo to get ir.config_parameter, otherwise when normal users try to
send email they get AccessError
2022-01-26 09:34:12 +02:00
Frédéric Garbely d88b08eefc [IMP] mail_outbound_static: black, isort, prettier 2022-01-26 09:34:12 +02:00
eLBati 4cbb2097eb Port mail_outbound_static to 12.0
Fixing and extending tests
Add setup
2022-01-26 09:34:12 +02:00
Dave Lasley 85d68c4f40 ADD mail_outbound_static: Allow configuration of from email header
* Allow for the configuration of the FROM header for outbound emails, and move the existing from header to Sender as per RFC-2822
2022-01-26 09:34:12 +02:00