IMAP examples
Donn Cave
donn at drizzle.com
Fri Jul 18 23:53:17 EDT 2003
Quoth "Tony Meyer" <ta-meyer at ihug.co.nz>:
|> It would be nice if it also explained some of the magic numbers
|> and strings in comments or in some text around the example:
|>
|> Why data[0]
|> Why M.search(None, 'ALL')
|> and why '(RFC822)' as the 2nd arg in the M.fetch()
|
| You're not asking for documentation about imaplib here, you're asking for
| documentation about the imap protocol; of course it's not there, you're
| looking in the wrong place. If you don't understand imap, why should you
| understand how to use imaplib?
|
| Using imaplib is very similar to simply passing the commands to an imap
| server - much more so, for example, than twisted's imap support (which hides
| details of IMAP, and so should provide more documentation than imaplib).
Well, to be fair, the first question, "Why data[0]" has more to do with
imaplib than IMAP4rev1. I doubt it has an interesting answer, though -
might as well just say "Because".
Donn Cave, donn at drizzle.com
More information about the Python-list
mailing list