$tp->addMessage('body_html', $schedule->body_html, 'text/html');
$tp->addMessage('sms_body_text', $schedule->sms_body_text, 'text/plain');
$tp->addMessage('subject', $schedule->subject, 'text/plain');
- // These 2 are not 'real' tokens - but it tells the processor to load them.
+ // These is not a 'real' token - but it tells the processor to load them.
$tp->addMessage('toName', '{contact.display_name}', 'text/plain');
- $tp->addMessage('preferred_mail_format', '{contact.preferred_mail_format}', 'text/plain');
-
return $tp;
}
'{contact.image_URL}' => 'Image Url',
'{contact.preferred_communication_method:label}' => 'Preferred Communication Method',
'{contact.preferred_language:label}' => 'Preferred Language',
- '{contact.preferred_mail_format:label}' => 'Preferred Mail Format',
'{contact.hash}' => 'Contact Hash',
'{contact.source}' => 'Contact Source',
'{contact.first_name}' => 'First Name',
'image_URL' => 'https://example.com',
'preferred_communication_method' => 'Phone',
'preferred_language' => 'fr_CA',
- 'preferred_mail_format' => 'Both',
'hash' => 'xyz',
'contact_source' => 'Contact Source',
'first_name' => 'Robert',
image_URL:https://example.com
preferred_communication_method:Phone
preferred_language:fr_CA
-preferred_mail_format:Both
hash:xyz
contact_source:Contact Source
first_name:Robert
image_URL |https://example.com
preferred_communication_method:label |Phone
preferred_language:label |French (Canada)
-preferred_mail_format:label |Both
hash |xyz
source |Contact Source
first_name |Robert