A how to use POP3 question

Raaijmakers, Vincent (IndSys, GE Interlogix) Vincent.Raaijmakers at ge.com
Tue Feb 25 00:07:09 CET 2003


After reading, coding, trial and error work, I have the feeling I'm about to create a munster of a script instead of something nice and clean...
 
I would like to get a list of subjects of all my emails on my POP3 server.
 
What is the easiest way to do that?
 
Something like:
        mailbox = poplib.POP3(host)
        mailbox.user(userName)
        mailbox.pass_(password)
 
        return mailbox.<give me the list with subjects>

Thanks for any help.        
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030224/03845e7f/attachment.html>


More information about the Python-list mailing list