← Back to team overview

openerp-india team mailing list archive

[Bug 1108847] Re: 6.1 Get mail dose not attach the mail propely

 

Hello Matteo Boscolo ,

I have cheked it with 6.1 but I did not face this problem.
when msg['From'] is like "Person Name"  <test@tinyerp,com> then 
to_email(msg['From']) return correct value "test@xxxxxxxxxxx".
So would  please check this again and provide detail information regarding this issue.

Thanks and waiting for reply.


** Changed in: openobject-server
       Status: New => Incomplete

-- 
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:
  Incomplete

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


References