c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27822
Re: [Bug 791537] Re: V6.0.2: fetchmail-module can\'t import mail with attachements
On Sunday 03 July 2011, you wrote:
> I 've found the same problem using an Gmail account.
>
> The solution is to change the file 'mail_gateway.py' on the 'mail_gateway'
> module, in the creation of attachments, about line 128 with:
This must be the same problem as discussed in #750508.
Dr. Gassauer had first described the problem, suggested to skip the files
(assuming that they were identical).
Then, this inspired me a more complex solution (try to preserve the name, then
try some standard renaming patterns, perhaps extendable) :
http://git.hellug.gr/?p=xrg/openobject-
addons;a=commit;h=0267b13cbe9f2f326
the loop there must work for duplicate names within the same mail, too.
--
Say NO to spam and viruses. Stop using Microsoft Windows!
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791537
Title:
V6.0.2: fetchmail-module can't import mail with attachements
Status in OpenERP Modules (addons):
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