openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22666
[Bug 1108847] Re: 6.1 Get mail dose not attach the mail propely
** Project changed: openobject-server => openobject-addons
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: Incomplete => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
** Summary changed:
- 6.1 Get mail dose not attach the mail propely
+ [6.1 ]Get mail dose not attach the mail propely
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1108847
Title:
[6.1 ]Get mail dose not attach the mail propely
Status in OpenERP Addons (modules):
Confirmed
Bug description:
in the function message_forward inside mail_thred.py if the value of
the field msg['From'] is somthing like "myMail@xxxxxxxxxx"
<myMail@xxxxxxxxxx> the to_email function return a dictionary like
this ['"myMail@xxxxxxxxxx"', 'myMail@xxxxxxxxxx'] and this is wrong
for the from field.
Old code was:
smtp_from= to_email(msg['From'])
I patch the code like this:
smtp_from=[]
for mFrom in to_email(msg['From']):
smtp_from = [mFrom]
break
regards,
Matteo
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1108847/+subscriptions
References