summaryrefslogtreecommitdiff
path: root/addons/mail/i18n/mail.pot
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2020-07-08 12:04:33 +0000
committerJulien Castiaux <juc@odoo.com>2020-07-29 23:44:47 +0000
commitf1215389e85b74d302b2f494ef055c4d16e6c48c (patch)
treeedbb88805d3b46146ed3f881bcb3258318aff5a0 /addons/mail/i18n/mail.pot
parentdc8973fd6e44975fc79af184282434b0aa1c11aa (diff)
[FIX] mail: prevent international char in alias
Create a mail alias with non-ascii characters like 'foß', send an email from your personal email account to that alias. The delivery fails because Odoo SA servers don't support the SMTPUTF8 extension which is required to parse the local-part ("display" <local-part@domain>) part of a From header. While external providers may create international, very weird, emails and we should support receiving/sending emails from/to them. Our policy is to only create very basic email addresses. That is all ASCII, letters, digits and a limited set of punctuation characters. Restricting what aliases can be created, we ensure no advanced extension should be enabled on SMTP servers. opw-2293336 Closes #53403 closes odoo/odoo#55166 X-original-commit: 4db3f21f52fa774ec651fc0b6eaa9a8652b2ae4c Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/mail/i18n/mail.pot')
-rw-r--r--addons/mail/i18n/mail.pot6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/mail/i18n/mail.pot b/addons/mail/i18n/mail.pot
index ef08e37e117..aede0a36756 100644
--- a/addons/mail/i18n/mail.pot
+++ b/addons/mail/i18n/mail.pot
@@ -6359,6 +6359,12 @@ msgid ""
msgstr ""
#. module: mail
+#: code:addons/mail/models/mail_alias.py:89
+#, python-format
+msgid "You cannot use anything else than unaccented latin characters in the alias address."
+msgstr ""
+
+#. module: mail
#: code:addons/mail/models/mail_thread.py:0
#, python-format
msgid "You have been assigned to %s"