Mass mailing fails when contact or partner name contains commas
Bug #688402 reported by
Jean-Luc Agathos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Steps to reproduce:
-Create a partner whose name contains a comma e.g. "Last, Firstname", plus a valid email address.
-Try to send a mass mailing to this partner.
Observed result:
-The tools.email_send() or the sendmail process fails silently.
-Sendmail logs says that user "Last" was not found.
This bug was observed on Ubuntu Linux with OpenERP version 5.0.15.
A possible patch consists in quoting the partner/contact name in file addons/
to = '"%s" <%s>' % (name, adr.email)
Related branches
Changed in openobject-addons: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Hello Jean-Luc,
The fix has been merged in server revision 3147 <email address hidden>.
Thank you for reporting, and providing a suggestion for the patch!