- Модуль: calendar
- Путь к файлу: ~/bitrix/modules/calendar/lib/ical/mailinvitation/senderrequestinvitation.php
- Класс: BitrixCalendarICalMailInvitationSenderRequestInvitation
- Вызов: SenderRequestInvitation::getMailEventField
protected function getMailEventField(): array
{
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,
'DETAIL_LINK' => Helper::getDetailLink(
$this->getEventId(),
$this->getEventOwnerId(),
$this->getEventDateCreateTimestamp()
),
'DECISION_YES_LINK' => Helper::getPubEventLinkWithParameters(
$this->getEventId(),
$this->getEventOwnerId(),
$this->getEventDateCreateTimestamp(),
self::DECISION_YES
),
'DECISION_NO_LINK' => Helper::getPubEventLinkWithParameters(
$this->getEventId(),
$this->getEventOwnerId(),
$this->getEventDateCreateTimestamp(),
self::DECISION_NO
),
'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',
'RRULE' => $this->getRRuleString()
];
}