1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
testconsentresponsemail.php
См. документацию.
1<?php
2
3namespace Bitrix\Sender\Integration\Sender\Mail;
4
5use Bitrix\Sender\Consent\ConsentMessageBuilderFactory;
6use Bitrix\Sender\Transport\iBase;
7
9{
10 const CODE = iBase::CODE_MAIL.ConsentMessageBuilderFactory::TEST_POSTFIX;
11 private $fields;
12
17 public function updateContact($apply): bool
18 {
19 return $apply === true;
20 }
21
22 public function reject()
23 {
24 return true;
25 }
26}