james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard O. Hammer" <ROHam...@EarthLink.net>
Subject Re: new InputStream class for mail data
Date Tue, 15 Jul 2003 22:02:30 GMT
Noel J. Bergman wrote:
>>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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message