MailGetInBoxInfo

sql

FUNCTION MailGetInBoxInfo(IN mailbox HANDLE, OUT mtblname CHAR(63), OUT mtblnum INT, OUT ftblname CHAR(63), OUT ftblnum INT) RETURNS INT;

Parameters

mailbox mailbox handle
mtblname output parameter, name of the table for storing information about received letters
mtblnum output parameter, number of the table for storing information about received letters
ftblname output parameter, name of the table for storing information about attachments
ftblnum output parameter, number of the table for storing information about attachments

Since version

6.0f

Description

Returns information about tables used for received mail evidence. The table name is returned in this format: application_name.table_name, so the string it's assigned to must be at least 64 characters long.

The table names are _SYSEXT._INBOXMSGS and _SYSEXT._INBOXFILES by default. The table names may be set differently for different profiles using the InBoxAppl, InBoxMessages and InBoxFiles parameters.

Function value

This function returns 0 if successful, the error number otherwise.

See