summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-07-08 14:18:08 +0200
committerThibault Delavallée <tde@openerp.com>2016-09-01 13:11:49 +0200
commit9c1af690d58068f3831bc7e22878d9b0065f8a28 (patch)
treedda85513159d57a46c697a88073608adeb336855 /addons/mail/data/mail_data.xml
parent72dfcae2a4b03623e780b857abf37c7aec5b8456 (diff)
[IMP] mail: bounce management
Handle bounces using bounce alias directly in mailgateway. Previously bounces were used only in mass mailing to update campaign statistics. Now the mailgateway tries to find data from standard delivery status emails. This data is used to update state of emails sent to customers, to display it in the Chatter. It is also used to increment the message_bounce counter on the bounced partner and bounced record, if any and if the field exists. Previous more generic code that detect bounces is kept. This code is more specific to standard delivery failure notifications by parsing its content.
Diffstat (limited to 'addons/mail/data/mail_data.xml')
-rw-r--r--addons/mail/data/mail_data.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml
index 874f83d9af1..29a11948c6a 100644
--- a/addons/mail/data/mail_data.xml
+++ b/addons/mail/data/mail_data.xml
@@ -39,6 +39,12 @@
<field name="value">catchall</field>
</record>
+ <!-- Bounce Email Alias -->
+ <record id="icp_mail_bounce_alias" model="ir.config_parameter">
+ <field name="key">mail.bounce.alias</field>
+ <field name="value">bounce</field>
+ </record>
+
<!-- Discussion subtype for messaging / Chatter -->
<record id="mt_comment" model="mail.message.subtype">
<field name="name">Discussions</field>