On Wed, 14 Nov 2001, Serge Knystautas wrote:
> setting).  b) you have to use an input stream because during the actual
> message delivery (after the DATA command), you are getting binary data.  If
> you use a Reader, it creates does read-ahead that causes problems when you
> start reading the message (you'll miss the first byte or two... I forget the
> exact behavior).

You can have Reader.read(); so I think you wouldn't miss any byte even if 
the underlying input stream was BufferedInputStream.
 
> What the JavaMail API does is define it's own InputStream class that is very
> similar to the DataInputStream... we should probably do something like this
> if we want to avoid the deprecation warnings.

I think the problem is not in the warnings, but the fact that someday, the
deprecated methods would no longer be supported.

Oki



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to