g
Frontend | Backend | Api

Mailer\Models\Api\Email

Email

Property Description Returns
parsedSubject Get the parsed (=> placeholders replaced) email subject string
parsedBody Get the parsed (=> placeholders replaced) email body string
contentType Determine the content type of the email string
firstToPerson Get the first person this email is addressed to Person
opens Get the number of open interactions for this email int
clicks Get the number of click interactions for this email int
hateoasLinks Get the HATEOAS links for the record array
deleteUrl Get the url for deleting the record. string
manageUrl Get the url for managing records. string
id int
uuid string
toName string
toEmail string
variables array
error string
externalId string
smtpId string
queueId string
status string
created DateTime
modified DateTime
sent DateTime
batch Batch
toPerson Person
interactions Collection (Interaction)
site Site
recipients Collection (Recipient)