Sun Java Solaris Communities My SDN Account Join SDN
 
Tutorials & Code Camps

jGuru: Fundamentals of the JavaMail API

 


[Short Course| Exercises]

The Java Developer Connection (JDC) presents a Short Course written by jGuru (formerly named the MageLang Institute). This Short Course provides an introduction to the JavaMail API.

jGuru has been dedicated to promoting the growth of the Java technology community through evangelism, education, and software since 1995. You can find out more about their activities, including community-driven FAQs and online learning, at jGuru.com.

Looking to incorporate mail facilities into your platform independent Java solutions? Look no further than the JavaMail API, which offers a protocol independent model for working with IMAP, POP, SMTP, MIME, and all those other Internet-related messaging protocols. With the help of the JavaBeans Activation Framework (JAF), your applications can now be mail-enabled through the JavaMail API.


Concepts

After completing this module you will understand the:

  • Basics of the Internet mail protocols SMTP, POP3, IMAP, and MIME
  • Architecture of the JavaMail framework
  • Connections between the JavaMail API and the JavaBeans Activation Framework

Objectives

By the end of this module you will be able to:

  • Send mail using the JavaMail API
  • Read mail with the JavaMail API
  • Deal with sending and receiving attachments
  • Work with HTML messages
  • Search for messages with search terms

Prerequisites

Instructions on how to download and install the JavaMail API are contained in the course. You will need a development environment though. Any of the following will do: the JDK 1.1.6+, Java 2 Platform, Standard Edition (J2SE) version 1.2.x, or higher.

A general familiarity with object-oriented programming concepts and the Java programming language is assumed. If you are not familiar with these capabilities, see the Java Tutorial.

For additional help in getting started, see the New to Java Programming Center.

Comments and Questions

Please send comments about the course to jdc-tutorial-feedback@jguru.com. This is not an address for sending technical support questions. Please check the jGuru JavaMail FAQ and Sun JavaMail FAQ first before asking questions about the JavaMail API that are not covered in the course. You can post technical questions to the jGuru JavaMail forums, or for user-to-user support use the javamail-interest.

About the Author

Formerly with jGuru.com, John Zukowski does strategic Java consulting for JZ Ventures, Inc. His latest book is titled Java Collections from Apress.



Start the Short Course


Copyright 1996-2001 jGuru.com. All Rights Reserved.

Have a question about programming? Use Java Online Support.