Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
5dc64bd5 by Cédric Krier at 2024-11-18T08:44:57+01:00
Do not set empty To, Cc nor Bcc in email message

Since gh-102988, email.utils.getaddresses() return [('', '')] 
for invalid email
addresses which includes empty string if the header is set with an empty list.

Closes #13649
- - - - -


4 changed files:

- modules/account_dunning_email/account.py
- modules/notification_email/notification.py
- modules/notification_email/tests/test_module.py
- trytond/trytond/ir/email_.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/5dc64bd5e5d5fc6929718f23cf18c7fc92875428

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/5dc64bd5e5d5fc6929718f23cf18c7fc92875428
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to