Back
POST api/v1/EmailOverSMS
Requires Authorization
Send RMail email through Email/SMS. New end point.
Request Information
URI Parameters
None.
Body Parameters
mail message parameter
EMailOverSMSModel| Name | Description | Type | Additional information |
|---|---|---|---|
| From |
Sender's email address |
string |
None. |
| To |
List of recipient email addresses separated by ";" or "," |
Collection of RecipientModel |
None. |
| Cc |
List of cc recipient email addresses separated by ";" or "," |
Collection of RecipientModel |
None. |
| Bcc |
List of Bcc recipient email addresses separated by ";" or "," |
Collection of RecipientModel |
None. |
| Subject |
Email subject |
string |
None. |
| TimeZoneOffset |
TimeZoneOffset. Timezoneoffset should be specified in format ±hh:mm |
string |
None. |
| Body |
Body of the email |
string |
None. |
| Attachments |
This is a list of attachment ids. When attachments are uploaded through api/Upload , a string id is returned on successful file upload. |
Collection of string |
None. |
| Options |
This is a dictionary (key , value pair) .This property should be ignored if no specific mail headers need to be included. |
Dictionary of string [key] and string [value] |
None. |
| IsLargeMail |
If large mail is set to true , the email attachments will available for download separately and not attached to the email.The email will contain a link to download the attachments. |
boolean |
None. |
Sample Request
Request Formats
application/json, text/json
{
"From": "sample string 1",
"To": [
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
},
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
}
],
"Cc": [
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
},
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
}
],
"Bcc": [
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
},
{
"Name": "sample string 1",
"Email": "sample string 2",
"EmailOption": 1,
"PasswordOption": 1,
"PhoneNumber": "sample string 3",
"CountryCode": "sample string 4"
}
],
"Subject": "sample string 2",
"TimeZoneOffset": "sample string 3",
"Body": "sample string 4",
"Attachments": [
"sample string 1",
"sample string 2"
],
"Options": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"IsLargeMail": true
}
Response Information
Resource Description
stringSample Response
application/json, text/json
"sample string"