Send a raw RFC2882 message

This action allows you to send us a raw RFC2822 formatted message along with the recipients that it should be sent to. This is similar to sending a message through our SMTP service.

URL

/api/v1/send/raw

Access

Must be authenticated as a server. If not authorised, a AccessDenied error will be returned.

Parameters

Parameter Type Default

mail_from Required

The address that should be logged as sending the message

String null

rcpt_to Required

The addresses this message should be sent to

Array null

data Required

A base64 encoded RFC2822 message to send

String null

bounce

Is this message a bounce?

Boolean null

Errors

Error Attributes

UnauthenticatedFromAddress

The From address is not authorised to send mail from this server

Response Data

This action will return a Hash.