need to strip stuff off email

John Roth newsgroups at jhrothjr.com
Tue Jun 21 20:30:49 EDT 2005


"nephish" <nephish at xit.net> wrote in message 
news:mailman.723.1119399951.10512.python-list at python.org...
> hey there,
> i have a script that retrieves my email, but i need it to
> be able to strip all the stuff off except the body (the message itself)
> so i can later write it to a text file.
>
> anyone know how to accomplish this?
> thanks

See the example at the end of the email package documentation.

John Roth 




More information about the Python-list mailing list