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

Return Values

In the event of an error, the routine returns NULL. The error status code is set in mta_errno.

Error Status Codes  

Description  

MTA_BADARGS

A NULL value passed for the channel argument.

MTA_NO

Unable to determine the channel name from the runtime environment. 

MTA_STRTRUERR

Channel buffer too small to receive the channel name. The buffer must be at least CHANLENGTH+1 bytes long.