On Wed, 3 Jan 2001, Brandon wrote:

> > It gets worse. Date: is not always the first header. Ian's mail client
> > puts Date: AFTER the Subject: header. I guess that means I can't assume
> > any order at all. Ah well, it just means I'll have to check if every line
> > starts with every header. Yuck.
> 
> Why do you care what order the mail headers come in? A mail message just
> has a bunch of headers followed by a blank line.

I stupidly thought there was a consistent order to them. A couple days ago
I cribbed a mail parser from some kid's school project. It made the same
stupid assumption. (I guess I got what I deserved for assuming that other
people's code is valid.)


-- 
Mark Roberts
[EMAIL PROTECTED]


_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to