Skip to navigation

Send mime document

Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
raw_messagestringRequired
The full MIME document of an email message
tolist of strings or nullOptional

Optionally define the recipients to receive the message - otherwise we'll use the To, Cc, and Bcc headers provided in the document

mail_fromstring or nullOptionalformat: "email"
The address specified in the MAIL FROM stage of the SMTP conversation
helostring or nullOptional
The hostname provided during HELO
client_addressstring or nullOptional
The remote host's IP address

Response

Success
emailstringformat: "email"
The email address that was processed.
patternstring
The route pattern that matched this email.
urlstringformat: "uri"
The webhook URL where this message was sent.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error