Table of Contents
- Title and Copyright Information
- Preface
- 1 MTA SDK Concepts and Overview
- 2 MTA SDK Programming Considerations
- 3 Enqueuing Messages
-
4
Dequeuing Messages
- About Dequeing Messages
- How Dequeuing Works
- Basic Dequeuing Steps
- Caller-Supplied Processing Routine
- The process_message() Routine
- A Simple Dequeuing Example
- Processing the Message Queue
- The process_done() Routine
- A Complex Dequeuing Example
- Intermediate processing channels
- Intermediate Channel Example
- Thread Creation Loop in mtaDequeueStart()
- Multiple Calls to mtaDequeueStart()
- Calling Order Dependencies
- 5 Decoding Messages
-
6
MTA SDK Reference
- Summary of SDK Routines
- MTA SDK Routines
- mtaAddressFinish()
- mtaAddressGetN()
- mtaAddressParse()
- mtaAddressToChannel()
- mtaBlockSize()
- mtaChannelGetName()
- mtaChannelToHost()
- mtaDateTime()
- mtaDebug()
- mtaDecodeMessage()
- mtaDecodeMessageInfoInt()
- mtaDecodeMessageInfoParams()
- mtaDecodeMessageInfoString()
- mtaDecodeMessagePartCopy()
- mtaDecodeMessagePartDelete()
- mtaDequeueInfo()
- mtaDequeueLineNext()
- mtaDequeueMessageFinish()
- mtaDequeueRecipientDisposition()
- mtaDequeueRecipientNext()
- mtaDequeueRewind()
- mtaDequeueStart()
- Other Considerations for mtaDequeueStart()
- mtaDequeueThreadId()
- mtaDone()
- mtaEnqueueCopyMessage()
- mtaEnqueueError()
- mtaEnqueueFinish()
- mtaEnqueueInfo()
- mtaEnqueueStart()
- mtaEnqueueTo()
- mtaEnqueueWrite()
- mtaEnqueueWriteLine()
- mtaErrno()
- mtaInit()
- mtaLog()
- mtaLogv()
- mtaOptionFinish()
- mtaOptionFloat()
- mtaOptionInt()
- mtaOptionStart()
- mtaOptionString()
- mtaPostmasterAddress()
- mtaStackSize()
- mtaStrError()
- mtaUniqueString()
- mtaVersionMajor()
- mtaVersionMinor()
- mtaVersionRevision()
- 7 Using Callable Send mtaSend()
-
8
mtaSend() Routine Specification
- List of Item Codes
- mtaSend() Syntax
- Arguments
- Item Descriptor Fields
- Description
-
Item Codes
- MTA_ADR_NOSTATUS
- MTA_ADR_STATUS
- MTA_BCC
- MTA_BLANK
- MTA_CC
- MTA_CHANNEL
- MTA_CFILENAME
- MTA_CFILENAME_NONE
- MTA_CTYPE
- MTA_ENC_BASE64
- MTA_ENC_BASE85
- MTA_ENC_BINHEX
- MTA_ENC_BTOA
- MTA_ENC_COMPRESSED_BASE64
- MTA_ENC_COMPRESSED_BINARY
- MTA_ENC_COMPRESSED_UUENCODE
- MTA_ENC_HEXADECIMAL
- MTA_ENC_NONE
- MTA_ENC_PATHWORKS
- MTA_ENC_QUOTED_PRINTABLE
- MTA_ENC_UNKNOWN
- MTA_ENC_UUENCODE
- MTA_END_LIST
- MTA_ENV_FROM
- MTA_ENV_TO
- MTA_FRAGMENT_BLOCKS
- MTA_FRAGMENT_LINES
- MTA_FROM
- MTA_HDR_ADRS
- MTA_HDR_BCC
- MTA_HDR_CC
- MTA_HDR_FILE
- MTA_HDR_LINE
- MTA_HDR_NOADRS
- MTA_HDR_NORESENT
- MTA_HDR_PROC
- MTA_HDR_RESENT
- MTA_HDR_TO
- MTA_HDRMSG_FILE
- MTA_HDRMSG_PROC
- MTA_IGNORE_ERRORS
- MTA_INTERACTIVE
- MTA_ITEM_LIST
- MTA_MAX_TO
- MTA_MODE_BINARY
- MTA_MODE_TEXT
- MTA_MSG_FILE
- MTA_MSG_PROC
- MTA_NOBLANK
- MTA_NOIGNORE_ERRORS
- MTA_PRIV_DISABLE_PROC
- MTA_PRIV_ENABLE_PROC
- MTA_SUBADDRESS
- MTA_SUBJECT
- MTA_TO
- MTA_USER
- 9 Error Status Codes Summary