Post /settings/integration/email
Description
Sets the e-mail server settings for this appliance.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
smtpTimeout |
Required |
Integer |
smtpConnectionTimeout | Required | Integer |
emailPassword | Required | String |
emailAuthType | Required | String |
emailPort | Required | String |
emailUsername |
Required |
String |
emailServer |
Required |
String |
emailAuth |
Required |
String |
emailSender |
Required |
String |
alwaysSendAsSender |
Required |
Boolean |
Sample Request
Request URL |
POST https://10.106.94.152:8443/api/v2/settings/integration/email |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
smtpTimeout: xx smtpConnectionTimeout: xx emailPassword: "xxxxxxxxxx" emailAuthType: "xxxxxxxxxx" emailPort: "xxxxxxxxxx" emailUsername: "xxxxxxxxxx" emailServer: "xxxxxxxxxx" emailAuth: "xxxxxxxxxx" emailSender: "xxxxxxxxxx" alwaysSendAsSender: TRUE |
Sample Response
{
"status": "string",
"errorMessage": "string"
}