471,354 Members | 1,632 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

imaplib unexpected error

Hello, I am getting an odd error when trying to establish an IMAP
connection:

File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/
imaplib.py", line 904, in _get_response
raise self.abort("unexpected response: '%s'" % resp)
imaplib.abort: unexpected response: '220 libertydistribution.com ESMTP
CommuniGate Pro 5.0.9 is glad to see you!'

I thought 220 was the correct response, so I don't understand why I am
getting the error. Thanks!

Nov 12 '07 #1
3 2317
Nevermind. It always seems I figure out what I did wrong right after I
post. Turns out I was using the wrong port.

On Nov 12, 12:51 pm, KeefTM <kee...@gmail.comwrote:
Hello, I am getting an odd error when trying to establish an IMAP
connection:

File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/
imaplib.py", line 904, in _get_response
raise self.abort("unexpected response: '%s'" % resp)
imaplib.abort: unexpected response: '220 libertydistribution.com ESMTP
CommuniGate Pro 5.0.9 is glad to see you!'

I thought 220 was the correct response, so I don't understand why I am
getting the error. Thanks!

Nov 12 '07 #2
KeefTM wrote:
Hello, I am getting an odd error when trying to establish an IMAP
connection:

File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/
imaplib.py", line 904, in _get_response
raise self.abort("unexpected response: '%s'" % resp)
imaplib.abort: unexpected response: '220 libertydistribution.com ESMTP
CommuniGate Pro 5.0.9 is glad to see you!'

I thought 220 was the correct response, so I don't understand why I am
getting the error. Thanks!

You are connecting to an SMTP server. :-) Maybe it is using the IMAP
port? More likely you tried to connect to port 25 which is - usually -
reserved for SMTP.

Regards,

Laszlo

Nov 12 '07 #3
On Nov 12, 1:46 pm, Laszlo Nagy <gand...@shopzeus.comwrote:
KeefTM wrote:
Hello, I am getting an odd error when trying to establish an IMAP
connection:
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/
imaplib.py", line 904, in _get_response
raise self.abort("unexpected response: '%s'" % resp)
imaplib.abort: unexpected response: '220 libertydistribution.com ESMTP
CommuniGate Pro 5.0.9 is glad to see you!'
I thought 220 was the correct response, so I don't understand why I am
getting the error. Thanks!

You are connecting to an SMTP server. :-) Maybe it is using the IMAP
port? More likely you tried to connect to port 25 which is - usually -
reserved for SMTP.

Regards,

Laszlo
That's what it was. I put the wrong port number in :) Thanks!

Nov 12 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bill Sneddon | last post: by
1 post views Thread by Colin Brown | last post: by
reply views Thread by Wolfgang Kohnen | last post: by
reply views Thread by aspineux | last post: by
4 posts views Thread by gregpinero | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.