summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-08-10 15:00:08 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-08-13 13:57:13 +0200
commitea4502ceab1f76f9b83f0e35cd714a3c01b7dfac (patch)
treeea2e4d8aca638623186e08f5d3ea69d8570a3dd8 /addons/web/static/src/js/views/basic/basic_controller.js
parente1ff6ce3d927caf29f7f673f9b4bc404ec4bce59 (diff)
[FIX] mass_mailing: bounced statistics
A mass mailing can be considered both as bounced and opened. This can occur with some email providers, such as Gmail. Indeed, Gmail sends out-of-office replies to the `Return-Path` address, which is also used for bounced emails. Therefore, it is not possible to determine accurately if a message sent to to the `Return-Path` is a genuine bounced email, or an out-of-office reply. However, if the recipient opens the email, it is possible to determine that the bounce was counted incorrectly. In this case, we empty the `bounced` field. Similarly, we only write on the `bounced` filed if the `opened` field is empty. This could occur if the recipient opens the email before the out-of-office reply is received. As a bonus, we also make sure to avoid updating the status if no route was found. No route means that the email was bounced, so no reason to set it as opened. opw-1869957
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions