If you mean a completely empty message, i.e. no body and no header, then
that
is not legal. RFC 822 section 4.1 gives the message syntax; date,
originator
(From), and at least one recipient (To, Cc, Bcc) header fields are
mandatory:
Thank you all for such a nice information.
When you say .. no body and no header ... does it mean that ... "." can
appear in header part like in following example.
DATA
<<354 start data; end with <cr><lf>.<cr><lf>
Subject: -ve testing
. To: a(_at_)test(_dot_)com
In such case, such message should be treated as illegal .. is that correct ?
"." cant be accounted for anything, as ". To" can not be considered as a
valid optional header field since header field name must not contain <sp>.
Regards,
Dhananjay.