Ahmed, Shakir wrote:
Thanks everyone who tried to help me to parse incoming email from an exchange 
server:

Now, I am getting following error; I am not sure where I am doing wrong. I appreciate any help how to resolve this error and extract emails from an exchange server.

First I tried:
mailserver = 'EXCHVS01.my.org'
mailuser = 'myname'
mailpasswd = 'mypass'
mailserver = poplib.POP3(mailserver)
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
  File "C:\Python24\lib\poplib.py", line 96, in __init__
    raise socket.error, msg
error: (10061, 'Connection refused')

Are you absolutely sure that your Exchange server includes the POP gateway? Remember that Outlook communicates with Exchange through a custom set of protocols. The POP gateway is optional, and many corporate environments turn it off.

--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to