Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Return Values

Return Values  

Description  

0

Normal, successful completion. 

MTA_BADARGS

This value is returned for one of the following reasons: 

  1. A NULL value was supplied for either the nq_ctx or dq_ctx call arguments.

  2. Invalid contexts were passed for either or both of those call arguments.

MTA_FCREATE

Unable to create a temporary file to hold data for the new message being enqueued. 

MTA_FIO

An I/O error occurred while attempting to write data to a message file. 

MTA_ORDER

Call made out of order. Either no recipients have yet been specified for the new message with mtaEnqueueTo(), or the recipient list of the queued message has not been completely read with mtaDequeueRecipientNext().

MTA_THREAD

Simultaneous use of either the enqueue or dequeue context by two different threads was detected.