Chapter 26 Creating JavaMail


Introduction to JavaMail

JavaMail is a Java standard extension that provides a set of abstract classes that define the common objects and their interfaces for any general mail system. JavaMail providers implement the API to provide the concrete functionality needed to communicate using specific protocols such as the Simple Mail Transfer Protocol (SMTP) and the Internet Message Access Protocol (IMAP).

Using JavaMail in EAServer, you can send e-mail messages from Java components, servlets, or JSPs. For example, a Web-based bookstore could send e-mail to a customer acknowledging an order, or to a System Administrator warning that a database is full.

Note   EAServer supports only the ability to build and send mail.

For information on how to design a JavaMail program, see the JavaSoft JavaMail Web pageshttp://java.sun.com/products/javamail . For information on many of the standards relating to Internet mail, see the Internet Mail Consortium Web sitehttp://www.imc.org .

 


Copyright © 2002 Sybase, Inc. All rights reserved.