Documentation

addSubscription

\Bitrix\Main\DB\Result public static
\Bitrix\Sender\MailingSubscriptionTable::addSubscription(
 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 ID - N|Y.

Example



© «Bitrix24», 2001-2024
Up