Skip to content

CVBDL/RaNotification

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published