Frontend | Backend | Api

Mailer\Models\Backend\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
getHateoasLinks() Get the HATEOAS links for the record array
getDeleteUrl() Get the url for deleting the record. string
getManageUrl() Get the url for managing records. string
getId() int
getUuid() string
getVariables() array
getError() string
getExternalId() string
getSmtpId() string
getQueueId() string
getStatus() string
getCreated() DateTime
getModified() DateTime
getSent() DateTime
getBatch() Batch
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
getShowEmailPath() Get the path for showing the (rendered) email string