getMessage
string|false public \Bitrix\Mail\Imap::getMessage( string $mailbox, integer $id, string $section, string );
Method returns a specific ($id) email or its section ($section) (header or body) from the specified folder ($mailbox). Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$mailbox | Mailbox folder name. | |
$id | Message ID. | |
$section | Message section. | |
$error | Error message. |
Example
© «Bitrix24», 2001-2024