Bitrix Site Manager

CPosting::GetEmails

CPosting::GetEmails(
    $post_arr
);

The method GetEmails returns an array of e-mail addresses to which the message will be sent.

Parameters

ParameterDescription
$post_arr Array of all the Issue object fields in the form of "field value" => "value".

Return Values

The method returns an array of the unique e-mail addresses.

Example



$post = CPosting::GetByID($ID);
if(($post_arr = $post->Fetch()))
    $aEmail = CPosting::GetEmails($post_arr);