[FIX] mail_thread: message_process: fixed body of bounced emails.
bzr revid: tde@openerp.com-20130416153809-d5xbjqw6i7l7x4av
This commit is contained in:
@@ -618,7 +618,7 @@ class mail_thread(osv.AbstractModel):
|
||||
'body_html': '<div><p>Hello,</p>'
|
||||
'<p>The following email sent to %s cannot be accepted because this address'
|
||||
'is private. Only known contacts are allowed to contact this address.</p></div>'
|
||||
'<blockquote>%s</blockquote>' % (message.get('to'), message.get('body')),
|
||||
'<blockquote>%s</blockquote>' % (message.get('to'), message_dict.get('body')),
|
||||
'subject': 'Re: %s' % message.get('subject'),
|
||||
'email_to': message.get('from'),
|
||||
'auto_delete': True,
|
||||
|
||||
Reference in New Issue
Block a user