POST api/Users/SendEmail

Request Information

URI Parameters

None.

Body Parameters

SendEmailDto
NameDescriptionTypeAdditional information
EmailFrom

string

None.

EmailTo

string

None.

UserName

string

None.

Body

string

None.

Password

string

None.

Subject

string

None.

Server

string

None.

Port

integer

None.

IsBodyHTML

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailFrom": "sample string 1",
  "EmailTo": "sample string 2",
  "UserName": "sample string 3",
  "Body": "sample string 4",
  "Password": "sample string 5",
  "Subject": "sample string 6",
  "Server": "sample string 7",
  "Port": 8,
  "IsBodyHTML": true
}

application/xml, text/xml

Sample:
<SendEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos">
  <Body>sample string 4</Body>
  <EmailFrom>sample string 1</EmailFrom>
  <EmailTo>sample string 2</EmailTo>
  <IsBodyHTML>true</IsBodyHTML>
  <Password>sample string 5</Password>
  <Port>8</Port>
  <Server>sample string 7</Server>
  <Subject>sample string 6</Subject>
  <UserName>sample string 3</UserName>
</SendEmailDto>

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.