About This Guide
Table of Contents | Previous
| Next
| Index
Messaging Server Plug-in API Guide
The Messaging Server Plug-in API Guide explains how to use the Messaging Server plug-in application programming interface (API) to write server plug-ins that extend Netscape Messaging Server 4.0.
This guide assumes that you are using Messaging Server Plug-in API 4.0, which is available on the Solaris, HP-UX 11.00, and AIX platforms.
This chapter has the following sections:
[Top]
The Messaging Server Plug-in API Guide is intended for developers who want to extend the functionality of the Netscape Messaging Server for site-specific reasons. This guide assumes that you are a programmer with this background:
[Top]
The Messaging Server Plug-in API is defined in the msg4plugins.h header file. You can see this file in HTML format or download the file.
[Top]
For Netscape developer information, see the Netscape DevEdge site.
Netscape provides a number of sources for information about Messaging Server:
For information about Netscape server APIs, see these Netscape documents:
For details about the messaging elements referenced in this guide, see the following RFCs (Requests for Comments):
[Top]
The 4.0 Messaging Server Plug-in API contains several new functions that help in handling messages.
-
The
GetMessageFile function returns the filename and path of the message file. This function combines two 3.0 functions, GetHeaderFile and GetBodyFile, which have been removed. For more information, see Appendix A, "Converting Messaging Server Plug-in 3.0 Files."
-
The
pInitFunc and pFunc functions are prototypes for functions that must be exported by the plug-in. For more information, see "Writing the Initialization and Plug-in Functions."
-
This version of the API includes a set of control functions for handling the control, or envelope, information in a message:
GetControlData, FreeControlData, AddControlInfo, and RemoveControlInfo. For more information, see "Accessing Control Data."
The 4.0 Messaging Server Plug-in API changes some existing structures and definitions and adds new structures. These changes should not affect your Messaging Server Plug-in API 3.0 files. See Appendix A, "Converting Messaging Server Plug-in 3.0 Files."
For information about using the new API elements, see Chapter 2, "Using the Messaging Server Plug-in API" and the individual reference entry for each element in Chapter 3, "Messaging Server Plug-in API Reference."
For information about upgrading existing Messaging Server Plug-in API 3.0 files to 4.0, see Appendix A, "Converting Messaging Server Plug-in 3.0 Files."
[Top]
This guide explains how to use the Messaging Server Plug-in API to write server plug-ins that extend the Netscape Messaging Server 4.0. Table 1 describes each chapter in more detail.
Table 1 Finding information in this guide
[Top]
Path name conventions. The Messaging Server Plug-in API 4.0 runs on Unix platforms. Unix format, in which slashes separate directory names, is used to represent file and directory paths.
URLs. This book uses Uniform Resource Locators (URLs) with this format:
http://server.domain/path/file.html
Where the parts of the URL have these values:
Fonts. All program code listings, URLs, and other program names appear in Courier, a monospace font. Placeholders in code or URL formats, which you replace with your own value, are in italicized Courier font.
Note Formats. This guide emphasizes information with several types of note formats:
NOTE:
Information of interest to the developer but not essential to understanding the
surrounding topic. §
WARNING:
Information that can affect the development decisions you make or the
development environment you choose. Don't miss these notes. §
[Top]
The sample code in this guide was tested running Netscape Messaging Server 4.0 on the Windows NT Workstation or Server and Unix platform.
[Top]
Table of Contents | Previous
| Next
| Index
Last Updated: 11/19/98 10:23:51
[an error occurred while processing this directive]