GET api/2.0/smtpsettings/smtp This function requires authentication

Description

Returns the current portal SMTP settings.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/smtpsettings/smtp
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

SMTP settings

Example Response
{
  "status": 0,
  "response": {
    "Host": "mail.example.com",
    "Port": "25",
    "SenderAddress": "notify@example.com",
    "SenderDisplayName": "Postman",
    "CredentialsUserName": "notify@example.com",
    "CredentialsUserPassword": "{password}",
    "EnableSSL": true,
    "EnableAuth": false,
    "UseNtlm": false,
    "IsDefaultSettings": false
  }
}