summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorJairo Llopis <jairo.llopis@tecnativa.com>2019-12-24 11:56:56 +0000
committerIvan Yelizariev <iel@odoo.com>2020-12-02 09:57:44 +0000
commit375ba5b37053a599922dd61c9e787553d6171291 (patch)
tree177143b33260ddb18612d47142b3c103de36362c /addons/web/static/src/js/fields/basic_fields.js
parent82b06dc4c3df502c8e006169f4ee0f6aa33e3ac1 (diff)
[FIX] mail: add support for Text/RFC822-Headers content-type
WHY: Some mail servers may provide `Message-Id` header in a section typed `text/rfc822-headers` instead of a `message/rfc822` According to https://tools.ietf.org/html/rfc6522#section-4 that section's body actually contains the headers from the bounced email. STEPS: a way to reproduce it should be using postfix v2.5+ with setting bounce_size_limit=1. See https://github.com/odoo/odoo/pull/42340#issuecomment-617605521 BEFORE: `bounced_message_id` is empty and thus the little email envelope icon doesn't turn red, nor do the email resend features trigger in the UI. You could be sending an invoice and never knowing it was bounced. AFTER: bounces from mail servers that return the `text/rfc822-headers` part will be handled properly. --- @Tecnativa TT21170 opw-2162067 opw-2344252 closes #42340 closes #62551 closes odoo/odoo#62706 X-original-commit: 3dc72b357c9bfa81867972c5c9b20dc028932d8b Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions