Re: reading only new messages in imaplib

2005-02-23 Thread Raghul
Thanks ya.It helped me a lot -- http://mail.python.org/mailman/listinfo/python-list

RE: reading only new messages in imaplib

2005-02-23 Thread Tony Meyer
[Raghul] >>> Is it posssible to read only the new messages or unread >>> messages using imaplib in python? If it is possible pls >>> specify the module or give a sample code. [Tony Meyer] >> This will print out the first 20 chars of each undeleted message. >> You should be able to figure out how

Re: reading only new messages in imaplib

2005-02-23 Thread Kartic
Raghul said the following on 2/22/2005 11:24 PM: Is it posssible to read only the new messages or unread messages using imaplib in python? If it is possible pls specify the module or give a sample code. Thanks in advance import imaplib, sys conn = imaplib.IMAP4_SSL(host='mail.example.com') # or co

Re: reading only new messages in imaplib

2005-02-22 Thread Raghul
eceived: from web50 Received: by twmail. Received: from mail. Received: from mail. Received: by twmail. Received: from adams Received: by twmail. Received: by twmail. Received: by twmail. Received: from ns2.T Received: by twmail. Received: by twmail. Received: from chat3 Received: by twmail. Receiv

RE: reading only new messages in imaplib

2005-02-22 Thread Tony Meyer
> Is it posssible to read only the new messages or unread > messages using imaplib in python? If it is possible pls > specify the module or give a sample code. This will print out the first 20 chars of each undeleted message. You should be able to figure out how to do what you want from it. >>