Return Values
In the event of an error, mtaChannelToHost() will return
NULL, but will set mta_errno. The following table lists the error
status codes for this routine.
Error Status Codes
|
Description
|
MTA_BADARGS
|
A NULL value was supplied for either of these two argument:
-
The host argument in the routine call.
-
An argument to an item code.
|
MTA_FOPEN
|
Unable to initialize the MTA SDK. Unable to read one or more configuration files.
Issue the following command for further information:
imsimta test -rewrite
|
MTA_NO
|
One of the following errors occurred:
-
Unable to determine the channel name from the runtime environment.
-
Unable to initialize the MTA SDK. For further information, issue the
following command:
imsimta test -rewrite
|
MTA_NOSUCHCHAN
|
The selected channel name does not appear in the MTA configuration file, imta.cnf.
|
MTA_NOSUCHITEM
|
An invalid item code was specified.
|