1
Send a raw RFC2882 message
LiNEX GIT edited this page 2024-06-11 15:13:47 +07:00

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, an AccessDenied error will be returned.

Parameters

Parameter Type Default
mail_from String null
The address that should be logged as sending the message
rcpt_to Array null
The addresses this message should be sent to
data String null
A base64 encoded RFC2822 message to send
bounce Boolean null
Is this message a bounce?

Errors

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

Response Data

This action will return a Hash.