• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/ical/mailinvitation/sendercancelinvitation.php
  • Класс: BitrixCalendarICalMailInvitationSenderCancelInvitation
  • Вызов: SenderCancelInvitation::getMailEventField
protected function getMailEventField(): array
{
	$this->event['SKIP_TIME'] ??= null;
	return [
		"=Reply-To" => "{$this->context->getAddresser()->getFullName()} <{$this->context->getAddresser()->getEmail()}>",
		"=From" => "{$this->context->getAddresser()->getFullName()} <{$this->context->getAddresser()->getEmail()}>",
		"=Message-Id" => $this->getMessageId(),
		"=In-Reply-To" => $this->getMessageReplyTo(),
		'EMAIL_FROM' => $this->context->getAddresser()->getEmail(),
		'EMAIL_TO' => $this->context->getReceiver()->getEmail(),
		'MESSAGE_SUBJECT' => $this->getSubjectMessage(),
		'MESSAGE_PHP' => $this->getBodyMessage(),
		'CONFIRM_CODE' => 'TRUE',
		'NAME' => $this->event['NAME'],
		'METHOD' => self::METHOD,
		'DATE_FROM' => $this->event['DATE_FROM'],
		'DATE_TO' => $this->event['DATE_TO'],
		'TZ_FROM' => $this->event['TZ_FROM'],
		'TZ_TO' => $this->event['TZ_TO'],
		'FULL_DAY' => $this->event['SKIP_TIME'] ? 'Y' : 'N',
	];
}