POST api/Mail/Send

Request Information

URI Parameters

None.

Body Parameters

MailModel
NameDescriptionTypeAdditional information
to

string

None.

from

string

None.

subject

string

None.

content

string

None.

isHtml

integer

None.

now

boolean

None.

fromName

string

None.

attachment

string

None.

withReintento

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "to": "sample string 1",
  "from": "sample string 2",
  "subject": "sample string 3",
  "content": "sample string 4",
  "isHtml": 5,
  "now": true,
  "fromName": "sample string 7",
  "attachment": "sample string 8",
  "withReintento": true
}

application/xml, text/xml

Sample:
<MailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evweb.Code.Shared.Models.Mail">
  <attachment>sample string 8</attachment>
  <content>sample string 4</content>
  <from>sample string 2</from>
  <fromName>sample string 7</fromName>
  <isHtml>5</isHtml>
  <now>true</now>
  <subject>sample string 3</subject>
  <to>sample string 1</to>
  <withReintento>true</withReintento>
</MailModel>

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.