g
Frontend | Backend | Api

Mailer\Models\Frontend\Email

Email

Method Description Returns
getParsedSubject() Get the parsed (=> placeholders replaced) email subject string
getParsedBody() Get the parsed (=> placeholders replaced) email body string
getContentType() Determine the content type of the email string
getFirstToPerson() Get the first person this email is addressed to Person
getOpens() Get the number of open interactions for this email int
getClicks() Get the number of click interactions for this email int
getId() int
getUuid() string
getToName() string
getToEmail() string
getVariables() array
getError() string
getExternalId() string
getSmtpId() string
getQueueId() string
getStatus() string
getCreated() DateTime
getModified() DateTime
getSent() DateTime
getBatch() Batch
getToPerson() Person
getInteractions() Collection (Interaction)
getSite() Site
getRecipients() Collection (Recipient)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool