Documentation

getForwardTo

array|false public static
\Bitrix\Mail\User::getForwardTo(
 string $siteId,
 integer $userId,
 string $entityType
);

Returns unique email for Site-User-Entity association. Static method.

Parameters

ParameterDescriptionVersion
$siteIdSite ID.
$userIdUser ID.
$entityTypeEntity type ID.

Example



© «Bitrix24», 2001-2024
Up