ModelMailer module
Batch
Email batch containing one or multiple emails.
A model in the Mailer module, with 21 members for templates, 21 API properties and 24 members for admin templates.
Templates view
Properties 21
Take no arguments.
-
#
getOpens() -
int - Get the number of emails in this batch that have been opened. Multiple opens don't count multiple times.
-
#
getClicks() -
int - Get the number of emails in this batch that have been clicked. Multiple clicks don't count multiple times.
-
#
getPriority() -
?int - Get the priority at which this batch should be sent. The lower the value, the higher the priority (0 => highest; 1 => high; 2 => medium; 3 => low; 4 => lowest)
-
#
getSubject() -
?string - Get the subject for the emails in this batch. Placeholders have not been replaced yet.
-
#
getSendAt() -
?DateTime - Get the date at which the email should be sent. If this is null, the email is sent immediately.
-
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 21
Read-only values on the record.
-
#
opens -
int - Get the number of emails in this batch that have been opened. Multiple opens don't count multiple times.
-
#
clicks -
int - Get the number of emails in this batch that have been clicked. Multiple clicks don't count multiple times.
-
#
priority -
?int - Get the priority at which this batch should be sent. The lower the value, the higher the priority (0 => highest; 1 => high; 2 => medium; 3 => low; 4 => lowest)
-
#
subject -
?string - Get the subject for the emails in this batch. Placeholders have not been replaced yet.
-
#
sendAt -
?DateTime - Get the date at which the email should be sent. If this is null, the email is sent immediately.
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 24
Take no arguments.
-
#
getOpens() -
int - Get the number of emails in this batch that have been opened. Multiple opens don't count multiple times.
-
#
getClicks() -
int - Get the number of emails in this batch that have been clicked. Multiple clicks don't count multiple times.
-
#
getPriority() -
?int - Get the priority at which this batch should be sent. The lower the value, the higher the priority (0 => highest; 1 => high; 2 => medium; 3 => low; 4 => lowest)
-
#
getSubject() -
?string - Get the subject for the emails in this batch. Placeholders have not been replaced yet.
-
#
getSendAt() -
?DateTime - Get the date at which the email should be sent. If this is null, the email is sent immediately.
-
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.