POST api/Email/SendSimpleEmail

Request Information

URI Parameters

None.

Body Parameters

SimpleEmail
NameDescriptionTypeAdditional information
From

string

None.

To

string

None.

Subject

string

None.

Body

string

None.

IsHTML

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "from": "sample string 1",
  "to": "sample string 2",
  "subject": "sample string 3",
  "body": "sample string 4",
  "isHTML": true
}

text/html

Sample:
{"from":"sample string 1","to":"sample string 2","subject":"sample string 3","body":"sample string 4","isHTML":true}

application/xml, text/xml

Sample:
<SimpleEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AHS.Server.Controllers">
  <Body>sample string 4</Body>
  <From>sample string 1</From>
  <IsHTML>true</IsHTML>
  <Subject>sample string 3</Subject>
  <To>sample string 2</To>
</SimpleEmail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.