Messaging Access SDK Guide
Next | Index

Messaging Access SDK Guide

This guide describes the Java version of the Netscape Messaging Access SDK 3.5, a development kit for writing messaging applications.

June 8, 1998


Contents

About This Guide

Who Should Read This Guide
What's in This Guide
Organization
Quick Reference to Tasks
Conventions Used in This Guide
Where to Find More Information

Part 1 Using the Messaging Access SDK

Chapter 1  Introducing the Messaging Access SDK

The Netscape Messaging Access software development kit (SDK) provides a set of Protocol Level APIs that the developer can use to write messaging applications and extend applications with messaging services. This chapter is an overview of the Messaging Access SDK, version 3.5.
How the Protocol APIs Work Together
The Messaging Access SDK, Java Version
Supported Platforms
SDK Sink Classes for Java
SDK Exceptions for Java
Compiling with the Java SDK

Chapter 2  Sending Mail with SMTP

This chapter is an overview of using SMTP (Simple Mail Transfer Protocol) to create and send email messages.
The SMTP Protocol
Steps in an SMTP Session
SMTP Response Codes
SMTP in the Messaging Access SDK
SMTP Callback Mapping
Creating a Response Sink
Creating a Client
Connecting to a Server
Determining ESMTP Support
Pipelining Commands
Setting the Mailer
Setting the Recipient
Sending the Message
Sending Messages with Convenience APIs
Ending the Session

Chapter 3  Building and Parsing MIME Messages

This chapter is an overview of using the MIME (Multipurpose Internet Mail Extension) API of the Messaging Access SDK to encode, decode, and parse mail messages, and handle text and non-text attachments.
The MIME Protocol
MIME Encoding Types
MIME Content Types
Structure of a MIME Message
MIME in the Messaging Access SDK
Steps in a MIME Session
Building the MIME Message
Adding Message Headers
Adding Content to the Message
Adding Body Parts to a Multipart
Creating a Message Part
Adding Parts to the Message
Deleting Parts of a Message
Encoding the Message
Encoding and Decoding Utilities
Sending Documents with the Convenience API
Parsing MIME Messages
Parsing the Entire Message
Dynamic Parsing

Chapter 4  Receiving Mail with IMAP4

This chapter is an overview of using IMAP4 (Internet Message Access Protocol 4) to retrieve and manage messages remotely.
The IMAP4 Protocol
IMAP4 Session States
Steps in an IMAP4 Session
IMAP4 in the Messaging Access SDK
IMAP4 Callback Mapping
Creating a Response Sink
Creating a Client
Connecting to a Server
Determining Server Capabilities
Logging In and Out
Checking for New Messages
Searching for Messages
Fetching Message Data
Closing a Mailbox

Chapter 5  Receiving Mail with POP3

This chapter is an overview of using POP3 (Post Office Protocol 3) to download messages to a client.
The POP3 Protocol
POP3 Session States
POP3 Response Codes
Steps in a POP3 Session
POP3 in the Messaging Access SDK
POP3 Callback Mapping
Creating a Response Sink
Creating a Client
Connecting to a Server
Logging In
Getting Message Count
Listing Messages
Retrieving Message Headers
Retrieving a Message
Ending the Session

Part 2 Messaging Access SDK Java Reference

This page contains links to the reference, in JavaDocs format, to the Java versions of the Messaging Access SDK Guide Protocol APIs.
SMTP Class Hierarchy
MIME Class Hierarchy
IMAP4 Class Hierarchy
POP3 Class Hierarchy
Java Convenience API

Chapter 6  Reference to Protocols

This chapter summarizes essential information about the Internet Protocols accessed through the Messaging Access SDK.
Supported SMTP Internet Protocol Commands
Supported IMAP4 Internet Protocol Commands
Supported POP3 Internet Protocol Commands

Appendix A  Writing Multithreaded Applications with the Messaging Access SDK

This appendix provides some important information for developers who want to take advantage of multithreading in their messaging applications.
Multithreading in the MIME API

Index

Download the Messaging Access SDK


Next | Index

Last Updated: June 3, 1998

For the latest technical information on Sun-Netscape Alliance products, go to: http://developer.iplanet.com

For more Internet development resources, try Netscape TechSearch.


Copyright © 1999 Netscape Communications Corporation.
This site powered by: Netscape Enterprise Server and Netscape Compass Server.