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 the nq_ctx call argument.

  2. An invalid enqueue context was supplied for nq_ctx.

  3. A required argument to an item code was NULL.

MTA_FCREATE

Insufficient disk space or other I/O error encountered while attempting to create or close a message file or a temporary file. 

MTA_FIO

An I/O error occurred while writing message files to the MTA channel queues or while reading from a temporary file. 

MTA_NO

Error terminating the message temporary file, there appears to be insufficient disk space to write the message copies, or there is a problem with a configured content scanner (for example, a virus or spam filter). 

MTA_NOSUCHITEM

An invalid item code was supplied. 

MTA_ORDER

The call was made out of order. Either no envelope recipient addresses have been specified or no message content has been provided. 

MTA_THREAD

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


Note –

In case of an error, the MTA_REASON item code can be used to receive extended error message information


As shown in the preceding table, in the case of an error, the MTA_REASON item code can be used to receive extended error message information