how to split the contain of retr (using poplib module)

Oleg Broytmann phd at phd.russ.ru
Thu Nov 25 11:33:42 CET 1999


On Thu, 25 Nov 1999, Ahmad Munif wrote:
> so, i can get the value of mail, such as: To,From,body message.
> how to split it ?

   Modules mimetools.py and multifile.py are your friends.

   Look http://sun.med.ru/~phd/Software/Python/misc.html, download
extract_mime.tgz and learn how this works.

   Additionals mirrors:
http://members.xoom.com/phd2/Software/Python/
http://www.fortunecity.com/skyscraper/unix/797/Software/Python/

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list