string|false public
\Bitrix\Mail\Imap::addMessage(
string $mailbox,
string $data,
string
);
Non-static method adds message to the specified folder ($mailbox).
Parameters
Parameter | Description | Version |
$mailbox | Mailbox name. | |
$data | Message. | |
$error | Error message. | |
Example