← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791537] Re: V6.0.2: fetchmail-module can't import mail with attachements

 

Similar problem here.

We are using the crm.lead model in order to trigger a CRM case upon a
new mail arrival.

The problem arises when the incoming mail includes an attachment (same
error as described above)

After investigating, we think that it hasn't to do with the document
module,  we have seen that that the system is trying to save each
attachment twice:

1. After triggering the new CRM case ($HOME/addons/mail_gateway/mail_gateway.py:413)
2. When saving the email history ($HOME/addons/mail_gateway/mail_gateway.py:131)

Thus, the fetchmail process ends with error as the document module
prevents the completion of the duplicate insertion

¿Does it make sense?

Best Regards,

--
Jorge Nogueira

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

Title:
  V6.0.2: fetchmail-module can't import mail with attachements

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  when I try to download mails from pop or imap-server with fetchmail
  module everithing works well without attachements. As soon ther is an
  attachement I get the following error:

  [2011-06-01 22:02:58,988][test] INFO:imap:fetchmail start checking for new emails on hostpoint
  [2011-06-01 22:02:59,667][test] WARNING:pop:[01]: warning
  [2011-06-01 22:02:59,667][test] WARNING:pop:[02]: ValidateError

  The attachement is downloaded but the e-mail is not...

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/791537/+subscriptions


References