Messaging Server Plug-in API Guide
Next | Index

Messaging Server Plug-in API Guide

This guide explains how to use the Netscape Messaging Server Plug-in API to write SMTP plug-ins that add site-specific functionality to Messaging Server 4.1.

Messaging Server 4.1 -- May 1999

Contents

About This Guide

What You Should Already Know
Where to Find the SMTP Plug-in Header File
Where to Find Messaging Server Information
New in This Release
Changes from 4.0 to 4.1
Changes from 3.0 to 4.0
Where to Find Information in This Guide
Document Conventions
Sample Code

Chapter 1  Introducing the Messaging Server Plug-in API

This chapter explains how you can use SMTP plug-ins, provides some basic definitions, and describes the stages involved in message processing.
How You Can Use Messaging Server SMTP Plug-ins
How SMTP Plug-ins Work
Configuring SMTP Plug-ins
Building the SMTP Plug-in
Installing the SMTP Plug-in

Chapter 2  Using the Messaging Server Plug-in API

This chapter describes using the Messaging Server Plug-in API to write SMTP plug-ins.
Writing the Initialization and Plug-in Functions
Writing the Initialization Function
Writing the Plug-in Function
SMTP Plug-in Return Codes
Using Messaging Server Plug-in Data Structures
The Parameter Block Structure
The Message Structure
The Message Recipient and RecipientList Parameters
Using Messaging Server Plug-in Functions
Accessing Control Data

Chapter 3  Messaging Server Plug-in API Reference

This chapter is a reference to Messaging Server Plug-in API functions, data structures, and result codes that you can call in your own SMTP plug-ins.
Functions
AddControlInfo
AddRecipient
DupMessage
FreeControlData
FreeMessage
GetControlData
GetFirstRecipient
GetMessageFile
GetNextRecipient
GetPostOfficePath
GetRecipientAddress
pblock_findval
pFunc
pInitFunc
RemoveControlInfo
RemoveRecipient
Return Values for Functions
Data Structures
Address
AddressList
Message
pblock
Definitions
Result Codes

Chapter 4  Sample SMTP Plug-in

This sample SMTP plug-in DLL shows how to add a recipient to a message that goes through the server. This chapter takes you step by step through constructing a SMTP plug-in using the Messaging Server Plug-in API.
The SamplePlugin DLL
SMTP Plug-in Code

Appendix A  Converting Messaging Server Plug-in Files to 4.1

This appendix tells you how to upgrade your existing Messaging Server Plug-in API 3.0 and 4.0 files to 4.1.
Upgrade Summary
Changes to Functions
Changes to Structures
Replacing Dropped 3.0 Functions

Index


Next | Index

Last Updated: 05/13/99 11:41:54

Copyright © 1999 Netscape Communications Corporation.