POST api/Email/SendMail
Request Information
URI Parameters
None.
Body Parameters
EmailEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| To | string |
Required |
|
| From | string |
Required |
|
| BCC | string |
None. |
|
| CC | string |
None. |
|
| Body | string |
Required |
|
| Attachment | string |
None. |
|
| Subject | string |
Required |
|
| SmtpServer | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"to": "sample string 1",
"from": "sample string 2",
"bcc": "sample string 3",
"cc": "sample string 4",
"body": "sample string 5",
"attachment": "sample string 6",
"subject": "sample string 7",
"smtpServer": "sample string 8"
}
text/xml
Sample:
<EmailEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities"> <Attachment>sample string 6</Attachment> <BCC>sample string 3</BCC> <Body>sample string 5</Body> <CC>sample string 4</CC> <From>sample string 2</From> <SmtpServer>sample string 8</SmtpServer> <Subject>sample string 7</Subject> <To>sample string 1</To> </EmailEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |