tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: EMail from a Servlet
Date Fri, 24 Mar 2000 17:44:02 GMT
Chris Bruce wrote:

> [snip]
> import*;
> [snip]

Note that relying on internal Sun APIs is not a good policy.  There's no documentation,
and no guarantee of the existence of these classes in every implementation, or from
revision to revision (even though these particular classes are pretty widely

The portable way to create mail messages in Java is to use the JavaMail APIs.  Go to
<> and follow the JavaMail link to download specifications,
API docs, example code, and implementation classes that support SMTP, IMAP, and POP3.
Third party providers also build additional JavaMail compatible links, such as for
posting to and reading from Usenet newsgroups via NNTP.

Craig McClanahan

View raw message