Found a glitch in org.apache.james.MailHeaders, the isValid tests assume
that the getHeader return is never null. Since I get a NPE every time I
omit a header it seems to use a null rather than a zero-length list. I
would feel much safer using a == null || .length == 0.
Every other mail server I have seen will accept a message without a Date
header, and I think they will add the header using their current date.
This seems a more reasonable treatment than rejecting the message
outright.
Chris
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/>
Problems?: [EMAIL PROTECTED]