Comment archive for Making imaplib simple


ImapQueue

Submitted by Martin Paljak (not verified) on Thu, 08/20/2009 - 12:41pm.

I was playing with gmail and imap and the idea to use a shared gmail account as a mail queue for automated replies and was struggling with the imap-ness of imaplib. Really like the simple "mailbox of messages" approach - if it would be possible to mark messages in the "queue" (imap mailbox) somehow, as "processed" or "flagged" (translating to "read" and "starred" in gmail) would be fantastic.


Very cool! How do I request

Submitted by Anonymous (not verified) on Tue, 06/28/2011 - 12:04am.

Very cool! How do I request the message body though?


Each item yielded is a

Submitted by tjfontaine on Tue, 06/28/2011 - 11:06pm.

Each item yielded is a http://docs.python.org/library/email.message.html#email.message.Message instance so there a bunch of ways to get at the "body" of a message, I generally use walk() to iterate through since there may be multiple parts


Good information, Best post

Submitted by объективы Sony (not verified) on Mon, 11/14/2011 - 5:04am.

Good information, Best post usefull ,Thanks for share this.I will come back to read more.