I agree with you that [RFC 2821, 2.3.7] seems to clearly prohibit SMTP clients from sending a lone CR character in message body data.
Since I am working on server-side SMTP code, I suppose I should allow the possibility that a lone CR might come in.
And what would you do with it then? Throw the exception, as in CRLFTerminatedReader?
Based upon my present understanding, I would not throw an exception (and would not throw an exception in CRLFTerminatedReader either). I would leave the lone CR in the stream, to be dealt with by whatever code handles it next.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]