$className = NULL,
$jobID = NULL
) {
+ CRM_Core_Error::deprecatedFunctionWarning('If you hit this in mailing code you should use flexmailer - otherwise use the token processor');
$params = [];
foreach ($contactIDs as $contactID) {
$params[] = [
return;
}
// check if there are any tokens
- $greetingTokens = self::getTokens($tokenString);
$context = $contactId ? ['contactId' => $contactId] : [];
if ($contactDetails) {
$context['contact'] = isset($contactDetails[0]) ? reset($contactDetails[0]) : $contactDetails;