1.

Solve : I need help to solve IMAP IDLE problem from gmail?

Answer»

Sorry for my bad enlish first.
Our programmer making IMAP IDLE program to send mail automatically to other e-mail but it KEEP connetion timming out so it made delay sending everyday.
He also doesn't know why it keep happening.
we think this is g-mail problem with imap fail reconnect.
This error is "about: socket error: EOF".
should i use another e-mail service to use this program?

here are errors what i want to show you.
I really wnat to FIX it and hope to get any anwer to solve this problem.
thanks.


2015-03-11 18:55:04,101 - Mailbot - ERROR - imap fail reconnect
Traceback (most recent call last):
File "/root/src/mailbot.py", line 89, in poll
text,res=self.imap.idle_done()
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 504, in idle_done
return self._consume_until_tagged_response(self._idle_tag, 'IDLE')
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 932, in _consume_until_tagged_response
line = self._imap._get_response()
File "/usr/lib/python2.7/imaplib.py", line 916, in _get_response
resp = self._get_line()
File "/usr/lib/python2.7/imaplib.py", line 1011, in _get_line
raise self.abort('socket error: EOF')
abort: socket error: EOF




===============




2015-03-11 18:58:15,560 - Mailbot - ERROR - imap fail reconnect
Traceback (most recent call last):
File "/root/src/mailbot.py", line 89, in poll
text,res=self.imap.idle_done()
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 504, in idle_done
return self._consume_until_tagged_response(self._idle_tag, 'IDLE')
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 932, in _consume_until_tagged_response
line = self._imap._get_response()
File "/usr/lib/python2.7/imaplib.py", line 916, in _get_response
resp = self._get_line()
File "/usr/lib/python2.7/imaplib.py", line 1011, in _get_line
raise self.abort('socket error: EOF')
abort: socket error: EOF

=====
00:00:23,825 - Mailbot - ERROR - [emailprotected] imap fail reconnect
Traceback (most recent call last):
File "/root/src/mailbot.py", line 89, in poll
text,res=self.imap.idle_done()
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 504, in idle_done
return self._consume_until_tagged_response(self._idle_tag, 'IDLE')
File "/usr/local/lib/python2.7/dist-packages/imapclient/imapclient.py", line 932, in _consume_until_tagged_response
line = self._imap._get_response()
File "/usr/lib/python2.7/imaplib.py", line 916, in _get_response
resp = self._get_line()
File "/usr/lib/python2.7/imaplib.py", line 1011, in _get_line
raise self.abort('socket error: EOF')
abort: socket error: EOFIt APPEARS he is using a scrip tin Python to send and receive e-mail.
Errors messages are not enough to identify the problem.
Please provide either the code or a descriptive OUTLINE of the program.




Discussion

No Comment Found