Standard module for parsing emails?

Phillip B Oldham phillip.oldham at gmail.com
Wed Jul 30 10:11:45 EDT 2008


On Jul 30, 2:36 pm, Thomas Guettler <h... at tbz-pariv.de> wrote:
> What do you mean with "quote" here?
>   2. Prefix of quoted text like your text above in my mail

Basically, just be able to parse an email into its actual and "quoted"
parts - lines which have been prefixed to indent from a previous
email.

Most clients use ">" which is easy to check for, but I've seen some
which use "|" and some which *don't* quote at all. Its causing us
nightmares in parsing responses to system-generated emails. I was
hoping someone might've seen the problem previously and released some
code.



More information about the Python-list mailing list