> This is going to sound a little harsh, but IMHO it is
> irresponsible for a respected author to encourage Java
> developers to learn and use bad habits.
Well, I wasn't a respected author at the time. :-)
I really hoped to use JavaMail, but the code using JavaMail was such
that even sending a simple message brought in all this complexity, and
I felt if I used that code I should at least quickly describe what
every line was doing. That would have gotten long. I also pictured
the tech support nightmare of people having problems installing two
.jar files just to send an email. It wasn't worth it.
I looked for free third party packages next. At the time I couldn't
find many, and no good ones. There has been some development in this
area since more than a year ago when I wrote that section. Today
maybe there's a good alternative. Every one I saw back then was just
as unsupported as Sun's SmtpClient code, was less widely available,
and was more likely to be removed from its web site than SmtpClient
was to be removed from the JDK.
I decided that if I gave the book a big warning and pointed out this
was only an example of what could be done, I could sleep at night. :-)
-jh-
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html