Object Definition Mail

Object definition mail

PropertyTypeDescription
IDGuidThe ID of the mail
AccountIDGuidThe accountID of the mail
FromAddressIDGuidThe ID of the from address you want to send with. Make sure this address is created as a sender first.
FromNameStringThe from name to use in your mail. Leave null if you want to use the email address only.
ReplyToAddressIDGuidThe ID of the address you want the recipient to reply to when he clicks the reply button. Make sure this address is created as a sender first. Leave null to use the from address or the ReplyToAddress (when defined) as the reply to.
ReplyToAddressStringThe address you want the recipient to reply to when he clicks the reply button. This one will be overwritten when the ReplyToAddress is defined
ReplyToNameStringThe name of the person to send a reply mail to. The ReplyToAddressID or ReplyToAddress should be defined when you fill the ReplyToName
ToAddressStringThe address to send your mail to
ToNameStringThe name of the person to send your mail to
CcsObjectThe Ccs for this mail. An array of email addresses needs to be passed. See the email address object definition. Keep in mind that every cc will count as an additional mail. When you have a cc it's impossible to know wheter the recipient or the person in the cc opened or clicked the mail.
BccsObjectThe Bccs for this mail. An array of email addresses needs to be passed. See the email address object definition. Keep in mind that every bcc will count as an additional mail. When you have a bcc it's impossible to know wheter the recipient or the person in the bcc opened or clicked the mail.
SubjectStringThe subject of your mail
HtmlBodyStringThe html body of the template. This is the body that recipients with a normal e-mail client will get
TextBodyStringThe text body of the template. This is the body that recipients will get when their e-mail client doesn't support HTML
AttachmentsObjectThe attachments for this mail. Attachments will not be returned in the response when sending a mail. See the attachment object definition.
CustomerReferenceStringYour own reference. We will use this reference also in the status updates we will send to you when you have a webhook configured
CreatedOnDateTimeWhen the mail was created in CET
CreatedOnUtcDateTimeWhen the mail was created in UTC
ModifiedOnDateTimeWhen the mail was last modified in CET
ModifiedOnUtcDateTimeWhen the mail was last modified in UTC

Object definition email address

PropertyTypeDescription
EmailAddressStringThe email address

Object definition attachment

PropertyTypeDescription
ContentStringThe base64 encoded content of the attachment
FileNameStringThe filename of the attachment, for example: "CalendarInvite.ics".
ContentIDStringThe 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 triggered mail

PropertyTypeDescription
IDGuidThe ID of the mail
AccountIDGuidThe accountID of the mail
CampaignIDGuidThe campaignID of the mail
ToAddressStringThe address to send your mail to
ToNameStringThe name of the person to send your mail to
LocaleStringLocale of the triggered mail
CustomerReferenceStringYour own reference. We will use this reference also in the status updates we will send to you when you have a webhook configured
CustomValuesArray of objectsThe custom values for this mail. See the custom values object definition.
AttachmentsArray of objectsThe attachments for this mail. Attachments will not be returned in the response when sending a mail. See the attachment object definition.

Object definition custom value

PropertyTypeDescription
FieldStringThe field name of the custom value. This name should correspond with the field name you entered in the campaign
ValueStringThe value for the custom field. This will be the value that will be placed in the mail