Chapter 35: Creating JavaMail  Writing JavaMail for EAServer

Chapter 35: 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.

NoteEAServer supports only the ability to build and send mail.

For information on how to design a JavaMail program, see the JavaMail Web site. For information on many of the standards relating to Internet mail, see the Internet Mail Consortium Web site.

Copyright © 2005. Sybase Inc. All rights reserved. Writing JavaMail for EAServer