• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/posting/sender.php
  • Класс: BitrixSenderPostingSender
  • Вызов: Sender::executeEvent
protected function executeEvent($recipient, $success)
{
	$eventData = [
		'SEND_RESULT' => $success,
		'RECIPIENT'   => $recipient,
		'POSTING'     => [
			'ID'               => $this->postingId,
			'STATUS'           => $this->status,
			'MAILING_ID'       => $this->mailingId,
			'MAILING_CHAIN_ID' => $this->letterId,
		]
	];

	return $eventData;
}