Chapter 30 Creating JavaMail


Introduction to JavaMail

JavaMail is a J2EE API, available as a Java standard extension, which 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 the JavaMail functionality supported by EAServer, you can provide a J2EE-compliant application with the ability to send e-mail messages. 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 version 3.6 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 © 2000 Sybase, Inc. All rights reserved.