Documentation

addUnSubscription

\Bitrix\Main\DB\Result public static
\Bitrix\Sender\MailingSubscriptionTable::addUnSubscription(
 array $parameters = array()
);

Creates a subscription as per specified parameters. Static method.

Parameters

ParameterDescriptionVersion
$parametersArray with list of connectors. Array keys:
  • MAILING_ID - email campaign ID;
  • CONTACT_ID - contact ID;
  • IS_UNSUB - unsubscription flag - N|Y.

Example



© «Bitrix24», 2001-2024