MailBoxGetMsg

sql

FUNCTION MailBoxGetMsg(IN mailbox HANDLE, IN id INT) RETURNS INT;

Parameters

mailbox handle of the mailbox
id letter identifier

Since version

6.0f

Description

This function reads the letter text including the header of the specified letter from the mailbox (specified in the profile) of the mailing system and stores it into the system table _INBOXMSGS into the Body column. If you need to separate the header from the body use the enhanced MailBoxGetMsgEx function.

Function value

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

Example

Receiving example

See