IMAP - fetch using imaplib

Donn Cave donn at oz.net
Sun Jan 16 15:11:55 EST 2000


Quoth "Asle Pedersen" <apederse at siving.hia.no>:
| I have adressed this question to the group previoussly without any success
| so I try once more :
| I need help with the following IMAP command:
| DF56 FETCH 1:3 (RFC822.SIZE BODY[HEADER.FIELDS (FROM SUBJECT)]).
| I have tried using the imaplib for other fetch commands without trouble, but
| this one I can't seem to get working utilising the imaplib.

I have tried to help you previously without any success, so I try
once more:

DF56 and FETCH will be sent by the fetch() function.  '1:3' should be
its first parameter, and the '(RFC822...)' expression its second.  Done
that way, it works for me.

	Donn Cave, donn at oz.net



More information about the Python-list mailing list