• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/posting/builder.php
  • Класс: BitrixSenderPostingBuilder
  • Вызов: Builder::isExcluded
private function isExcluded(bool $include, $row): bool
{
	return 	$include
		&& (
			$row['BLACKLISTED'] === 'Y' ||
			$row['IS_UNSUB'] === 'Y' ||
			$row['IS_MAILING_UNSUB'] === 'Y' ||
			(
				$this->messageConfiguration->get('APPROVE_CONFIRMATION', 'N') === 'Y' &&
				Consent::isUnsub(
					$row['CONSENT_STATUS'],
					$row['CONSENT_REQUEST'],
					$this->postingData['MESSAGE_TYPE']
				)
			)
		);
}