After taking a deeper look at RFC 822 specification it seems to me that only
some headers MUST be present:
From, To, Date MUST be present to make the Message valid.

My opinion it that James (not SMTPHandler) should take care of validation.
Action to be taken on an invalid message may be "refuse to send" or "let's
try to patch it".
IMHO we should aim to first one but any good reason to accept invalid
messages is welcome.

More than validation James will taka care of adding non necessary but
recomanded headers such as trace infos etc.
Return-Path, Received from... , Message-Id etc.

any advice 'bout this?

Federico



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to