Mail sender name removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
When some module (ie: mail) calls the buld_message method of ir.mail_server, with a sender name without quotes but with UTF8 characters, the name gets removed.
For example, my name is Carlos Vásquez (note the accent on the a). So when I send and email from OpenERP, the mail module makes the message with From: Carlos Vásquez <email address hidden>. Note that the name is not surrounded with quotes, as it is not necessary to be valid. This is the actual From: line sent from the mail module to the ir.mail_server build_message method.
The email_from read from the message gets encoded with RFC2822 because of the accent, and the encode_
To fix this, the name_with_
Regards
Related branches
- Rifakat Husen (OpenERP) (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/addons/base/ir/ir_mail_server.py (+1/-1)
Changed in openobject-server: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-server: | |
status: | New → Confirmed |
importance: | Undecided → Low |
status: | Confirmed → Fix Committed |