Can anyone tell me how to get a message's number from the message-id
using IMAP4.search?
I've tried this:
resp, items = server.search(None, 'HEADER', '"Message-id"', msgID)
but it gives me a 'bogus search criteria' error
Any ideas?
--
http://mail.python.org/mailman/listinfo/python-list
Max M wrote:
> Sean Dodsworth wrote:
>> Can anyone tell me how to get a message's number from the message-id
>> using IMAP4.search?
>> I've tried this:
>> resp, items = server.search(None, 'HEADER', '"Message-id"', msgID)
&g
Tony Meyer wrote:
>> Can anyone tell me how to get a message's number from the message-id
>> using IMAP4.search?
>> I've tried this:
>> resp, items = server.search(None, 'HEADER',
>> '"Message-id"', msgID) but it gives me a 'bogus search criteria' error
>
import imaplib
i = imaplib.