POST api/Mail
Request Information
URI Parameters
None.
Body Parameters
MailObject| Name | Description | Type | Additional information |
|---|---|---|---|
| template | string |
None. |
|
| recipients | Collection of Recipient |
None. |
|
| mergeVars | Collection of MergeVar |
None. |
|
| sender | Sender |
None. |
|
| attachments | Collection of Attachment |
None. |
Request Formats
application/json, text/json
Sample:
{
"template": "sample string 1",
"recipients": [
{
"name": "sample string 1",
"email": "sample string 2"
},
{
"name": "sample string 1",
"email": "sample string 2"
}
],
"mergeVars": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"sender": {
"name": "sample string 1",
"email": "sample string 2"
},
"attachments": [
{
"name": "sample string 1",
"type": "sample string 2",
"content": "sample string 3"
},
{
"name": "sample string 1",
"type": "sample string 2",
"content": "sample string 3"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.