Parsing the body of an email

John Roth newsgroups at jhrothjr.com
Sat Nov 8 15:52:23 EST 2003


"BoBo the monkey" <coryvb123 at hotmail.com> wrote in message
news:ad329f8a.0311081240.7ab628c2 at posting.google.com...
> I would like to know if anyone out there can give me an example or any
> help with this. Using Python, I need to take the body of an email,
> which has already been saved as a string, and parse it up into
> different pieces which exist in said body.

See the email package under the Internet Data Handling
section of the Python Library Reference. It's section 12.2
in the Python 2.2.3 manual set.

John Roth






More information about the Python-list mailing list