TestConsentResponseMail extends ConsentResponseMail
FinalYes
Table of Contents
Constants
- APPLY_ACTION = true
- CODE = \Bitrix\Sender\Transport\iBase::CODE_MAIL . \Bitrix\Sender\Consent\ConsentMessageBuilderFactory::TEST_POSTFIX
- ORIGINATOR_ID = 'sender'
- REJECT_ACTION = false
Methods
- apply() : bool
- apply contact to send marketing messages
- loadData() : ConsentBuilderMail
- load data from string tag or array
- reject() : bool
- deny contact to send marketing messages
- updateContact() : bool
Constants
APPLY_ACTION
public
mixed
APPLY_ACTION
= true
CODE
public
mixed
CODE
= \Bitrix\Sender\Transport\iBase::CODE_MAIL . \Bitrix\Sender\Consent\ConsentMessageBuilderFactory::TEST_POSTFIX
ORIGINATOR_ID
public
mixed
ORIGINATOR_ID
= 'sender'
REJECT_ACTION
public
mixed
REJECT_ACTION
= false
Methods
apply()
apply contact to send marketing messages
public
apply() : bool
Return values
boolloadData()
load data from string tag or array
public
loadData(array<string|int, mixed>|string $data) : ConsentBuilderMail
Parameters
- $data : array<string|int, mixed>|string
Tags
Return values
ConsentBuilderMailreject()
deny contact to send marketing messages
public
reject() : bool
Return values
boolupdateContact()
public
updateContact(mixed $apply) : bool
Parameters
- $apply : mixed