• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/messagesender/sendfacilitator/mail.php
  • Класс: Bitrix\Crm\MessageSender\SendFacilitator\Mail
  • Вызов: Mail::__construct
public function __construct(Channel $channel)
{
	if ($channel->getSender()::getSenderCode() !== MailManager::getSenderCode())
	{
		throw new ArgumentException('Channel should be from Mail sender');
	}

	parent::__construct($channel);
}