Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.14 KB

File metadata and controls

60 lines (48 loc) · 2.14 KB

RA Notification

Notification REST API

Email Notification

POST /api/mailnotification

Input

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.
Attachment Format
Name Type Description
Name string Attachment file name.
Data string Base64 encoded file content.

Example

{
  "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="
    }
  ]
}