← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 688402] Re: Mass mailing fails when contact or partner name contains commas

 

Hello Jean-Luc,

The fix has been merged in server revision 3147
odo@xxxxxxxxxxx-20101222123509-dhxbq3wdzj5w2bei.

Thank you for reporting, and providing a suggestion for the patch!

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/688402

Title:
  Mass mailing fails when contact or partner name contains commas

Status in OpenObject Addons Modules:
  Fix Released

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/base/res/partner.wizard/wizard_spam.py, line 50, as shown below:

to = '"%s" <%s>' % (name, adr.email)





References