POST /api/mailnotification
Name | Type | Description |
---|---|---|
From | string | Sender's email address. |
To | string | Receiver's email address. |
Cc | Array | Carbon copy to secondary recipients. |
Bcc | Array | blind carbon copy to tertiary recipients who receive the message. |
Subject | string | Email subject. |
Body | string | Email message body. |
IsHtml | bool | Send message body with html format. |
Attachments | Array | Attachments. |
Name | Type | Description |
---|---|---|
Name | string | Attachment file name. |
Data | string | Base64 encoded file content. |
{
"From":"no-reply@example.com",
"To":["example@example.com"],
"Cc":[],
"Bcc":[],
"Subject":"RaNotification Released!",
"Body":"Hi all, we're pleased to announce that RaNotification is released.",
"IsHtml": false,
"Attachments":
[
{
"Name":"readme.txt",
"Data":"dGhpcyBpcyBhdHRhY2htZW50IGRhdGE="
}
]
}