{

Object definition mail

Property Type Description
ID Guid The ID of the mail
AccountID Guid The accountID of the mail
FromAddressID Guid The ID of the from address you want to send with. Make sure this address is created as a sender first.
FromName String The from name to use in your mail. Leave null if you want to use the email address only.
ReplyToAddressID Guid The ID of the address you want the recipient to reply to when he click the reply button. Make sure this address is created as a sender first. Leave null to use the from address as the reply to.
ToAddress String The address to send your mail to
Subject string The subject of your mail
HtmlBody String The html body of the template. This is the body that recipients with a normal e-mail client will get
TextBody String The text body of the template. This is the body that recipients will get when their e-mail client doesn't support HTML
Attachments Object The attachments for this mail. Attachments will not be returned in the response when sending a mail. See the attachment object definition.
CustomerReference String Your own reference. We will use this reference also in the status updates we will send to you when you have a webhook configured
CreatedOn DateTime When the mail was created
ModifiedOn DateTime When the mail was last modified

Object definition attachment

Property Type Description
Content String The base64 encoded content of the attachment
FileName string The filename of the attachment, for example: "CalendarInvite.ics".
ContentID string The ContentID can be specified for images, to reference it in your image tag in your HTML. You can use "cid:yourcontentid" in the src tag of the image to display the image inline

Object definition statistic detail

Property Type Description
EmailAddress String The email address of the recipient
SentOn DateTime DateTime the mail was sent on
DeliveredOn DateTime DateTime the mail was delivered on
OpenedOn DateTime DateTime the user opened the mail
BouncedOn DateTime DateTime the mail has bounced on
ComplainedOn DateTime DateTime the user complained on
UnsubscribedOn DateTime DateTime the user unsubscirbed on
BlacklistedOn DateTime DateTime it was blacklisted on. This means this recipient has caused a permanent bounce before, or unsubscribed and we haven't send to it with this mailing
NumberOfClicks Int How many links a user has clicked.