POST api/mail-server-config/save
Request Information
URI Parameters
None.
Body Parameters
MailServerConfigRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Provider | string |
None. |
|
| Host | string |
None. |
|
| string |
None. |
||
| Username | string |
None. |
|
| Password | string |
None. |
|
| Port | integer |
None. |
|
| UseSsl | boolean |
None. |
|
| SenderName | string |
None. |
|
| CcEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Provider": "sample string 1",
"Host": "sample string 2",
"Email": "sample string 3",
"Username": "sample string 4",
"Password": "sample string 5",
"Port": 1,
"UseSsl": true,
"SenderName": "sample string 7",
"CcEmail": "sample string 8"
}
application/xml, text/xml
Sample:
<MailServerConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <CcEmail>sample string 8</CcEmail> <Email>sample string 3</Email> <Host>sample string 2</Host> <Password>sample string 5</Password> <Port>1</Port> <Provider>sample string 1</Provider> <SenderName>sample string 7</SenderName> <UseSsl>true</UseSsl> <Username>sample string 4</Username> </MailServerConfigRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.