Reading e-mail body (newbie)

Jacobus van der Merwe jacobus at
Tue Mar 27 14:51:08 CEST 2001


I have a script to which e-mail to a certain address is relayed.

I need to write the body of the e-mail to a file.

I use


to read the e-mail, but I can't figure out how to access the body.
It seems that rfc822 only have methods to access the headers. ????

Any help will be appreciated.


More information about the Python-list mailing list