Documentation

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

ParameterDescriptionVersion
$mailboxMailbox folder name.
$idMessage ID.
$sectionMessage section.
$error Error message.

Example



© «Bitrix24», 2001-2024
Up