Posts Mime Message

POST {{baseUrl}}/messages.mime?h:X-My-Header=<>&message=<>&o:campaign=<>&o:deliverytime=<>&o:dkim=<>&o:tag=<>&o:testmode=<>&o:tracking=<>&o:tracking-clicks=<>&o:tracking-opens=<>&to=<>&v:my-var=<>

Posts a message in MIME format. Note: you will need to build a MIME string yourself. Use a MIME library for your programming language to do this. Pass the resulting MIME string as message parameter.

Request Params

KeyDatatypeRequiredDescription
h:X-My-Headerstringh: prefix followed by an arbitrary value allows to appendna custom MIME header to the message (X-My-Headernin this case). For example, h:Reply-To to specify Reply-Tonaddress.
messagestringMIME string of the message. Make sure to usenmultipart/form-data to send this as a file upload.
o:campaignstringId of the campaign the message belongs to. SeenCampaign Analytics for details.
o:deliverytimestringDesired time of delivery. See Date Format. Note:nMessages can be scheduled for a maximum of 3 days in thenfuture.
o:dkimstringEnables/disabled DKIM signatures on per-message basis.nPass yes or no
o:tagstringTag string. See Tagging for more information.
o:testmodestringEnables sending in test mode. Pass yes if needed.nSee Sending in Test Mode
o:trackingstringToggles tracking on a per-message basis, seenTracking Messages for details. Pass yes or no.
o:tracking-clicksstringToggles clicks tracking on a per-message basis. Has highernpriority than domain-level setting. Pass yes, nonor htmlonly.
o:tracking-opensstringToggles opens tracking on a per-message basis. Has highernpriority than domain-level setting. Pass yes or no.
tostringEmail address of the recipient(s).nExample: &quot;Bob &lt;bob&#64;host.com&gt;&quot;. You can use commas tonseparate multiple recipients.nMake sure to include all To, Cc and Bccnrecipients of the message.
v:my-varstringv: prefix followed by an arbitrary name allows tonattach a custom JSON data to the message.nSee Attaching Data to Messages for more information.