'return' => array("msg_html", "id", "msg_title", "msg_subject", "msg_text"),
'workflow_id' => array('IS NULL' => ""),
));
- $mailGrp = civicrm_api3('MailingGroup', 'get', $params);
$mailTokens = civicrm_api3('Mailing', 'gettokens', array(
'entity' => array('contact', 'mailing'),
'sequential' => 1,
'headerfooterList' => $headerfooterList['values'],
'mesTemplate' => $mesTemplate['values'],
'emailAdd' => $emailAdd['values'],
- 'mailGrp' => $mailGrp['values'],
'mailTokens' => $mailTokens['values'],
'contactid' => $contactID,
'requiredTokens' => CRM_Utils_Token::getRequiredTokens(),