openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22481
[Bug 1108847] [NEW] 6.1 Get mail dose not attach the mail propely
Public bug reported:
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
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1108847
Title:
6.1 Get mail dose not attach the mail propely
Status in OpenERP Server:
New
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-server/+bug/1108847/+subscriptions
Follow ups
References