Posted by Shawn Wilson on 11/30/05 06:47
I am trying to parse email messages in their raw form and I am having
trouble with different mail programs / services and the way they format
their messages. Namely, I'm trying to find a definitive way to split the
body of a message out from the whole source.
The only trend I see so far is that between the headers and the body there
is a single blank line... is that the only way I have to tell that the body
has started?
Also, at the end of the body, is there a definitive end point? Or is it
just a blank line as well?
Surely there has to be some spec outlined out there... but so far all I'm
finding is vague information.
Thanks in advance!
--
Shawn Wilson
Navigation:
[Reply to this message]
|