POST api/Email/SendEmail

Request Information

URI Parameters

None.

Body Parameters

MailMessageEntity
NameDescriptionTypeAdditional information
IsBodyHtml

boolean

None.

To

Collection of string

None.

Bcc

Collection of string

None.

From

string

None.

Subject

string

None.

Body

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsBodyHtml": true,
  "To": [
    "sample string 1",
    "sample string 2"
  ],
  "Bcc": [
    "sample string 1",
    "sample string 2"
  ],
  "From": "sample string 2",
  "Subject": "sample string 3",
  "Body": "sample string 4"
}

application/xml, text/xml

Sample:
<MailMessageEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microservices.Application.QuickQuote.Entities">
  <Bcc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Bcc>
  <Body>sample string 4</Body>
  <From>sample string 2</From>
  <IsBodyHtml>true</IsBodyHtml>
  <Subject>sample string 3</Subject>
  <To xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </To>
</MailMessageEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.