original message:
How does the mail program know the end of one piece of mail and the
beginning
of the next?
Does it look for "Received from:" to signal the start? what if that were
imbedded in
the message?
Or is there a byte count internal to the message ID?
Does anyone know where I could get source to a mail display program that
would
show how it parses the /usr/spool/mail files? I'm attempting to write a
front end
mail display program to integrate with our other programming (in PICK).
I'm not
looking for 3rd party, as I will be needing very customized integration.
Thanx
George Gallen
ggallen_at_slackinc.com
RESULTS:
Apparantly what I needed to know was that anytime the combination "From
"
starts on a line that is not from the header it will have the ">" added
to the front.
So looking for "From " at the beggining of the line is what is used for
parsing.
Intresting that "from ", "from: ","From: " are not escaped with the ">",
it is very
specific of Uppercase F, lowercase rom then a space.
www.washington.edu/pine/ was suggested as a source for pine (the source
I
was looking for).
Thanx to
Lucio Chiappetti
Elliot Smorodinsky
Received on Tue Nov 18 1997 - 16:50:57 NZDT