[CODE]$arFields = array(
"EVENT_NAME" => "SALE_ORDER_ALLOW_PAY",
"LID" => "s1",
"C_FIELDS" => array(
"USER_ID" => $strUserId,
"EMAIL" => $strUserMail,
"SALE_EMAIL" => $SALE_EMAIL,
"ORDER_ID" => $arFields['ORDER_ID'],
"ORDER_STATUS" => $arFields['ORDER_STATUS'],
"ORDER_DESCRIPTION" => $arOrder['ORDER_DESCRIPTION'],
"TEXT" => $arOrder['TEXT']),
"DUPLICATE"=> "Y");
\Bitrix\Main\Mail\Event::send($arFields);[/CODE]