Standard module for parsing emails?
google at mrabarnett.plus.com
Wed Jul 30 19:25:42 CEST 2008
On Jul 30, 3:11 pm, Phillip B Oldham <phillip.old... at gmail.com> wrote:
> 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
> 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
The problem is that sometimes lines might start with ">" for other
reasons, eg text copied from an interactive Python session, which
could occur in ... um ... _this_ newsgroup. :-)
More information about the Python-list