← Back to team overview

openerp-india team mailing list archive

[Bug 1239638] [NEW] Email Attachment downloading

 

Public bug reported:

Email Attachment downloading

When we fetch emails with large attachments, it takes a long time that
the socket is closed. It is always difficult to download email with
large attachments.

I tested your issue with two different internet connection, I didn't
face any such problem with high speed internet connection but with
slower internet connection I faced this error sometime.

Investigating in it I found it a problem with python imap library used
for emails, there is not much can be done about it from OpenERP side,
but the statement 'imap_server.close()' in fetchmail/fetchmail.py could
be put in 'try...except' block and if it's an abort exception(which is
faced in your case) then try to reconnect and fetch again(but if it's
gonna take same amount of time then it might go on loop again and
again).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1239638

Title:
  Email Attachment downloading

Status in OpenERP Addons (modules):
  New

Bug description:
  Email Attachment downloading

  When we fetch emails with large attachments, it takes a long time that
  the socket is closed. It is always difficult to download email with
  large attachments.

  I tested your issue with two different internet connection, I didn't
  face any such problem with high speed internet connection but with
  slower internet connection I faced this error sometime.

  Investigating in it I found it a problem with python imap library used
  for emails, there is not much can be done about it from OpenERP side,
  but the statement 'imap_server.close()' in fetchmail/fetchmail.py
  could be put in 'try...except' block and if it's an abort
  exception(which is faced in your case) then try to reconnect and fetch
  again(but if it's gonna take same amount of time then it might go on
  loop again and again).

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


Follow ups

References