Get Email Servers
This operation returns the configuration for the email server.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- G E T Email Server
Schema
- enableSSL boolean
- smtpServer string
- smtpPort integer
- useAuthentication boolean
- maxMailServerSize integer
userInfo object
senderInfo object
{
"enableSSL": true,
"smtpServer": "string",
"smtpPort": 0,
"useAuthentication": true,
"maxMailServerSize": 0,
"userInfo": {
"userName": "string"
},
"senderInfo": {
"senderName": "string",
"senderAddress": "string"
}
}
{
"enableSSL": false,
"smtpServer": "########",
"smtpPort": 25,
"useAuthentication": false,
"maxMailServerSize": 0,
"userInfo": {
"userName": ""
},
"senderInfo": {
"senderName": "Yash",
"senderAddress": "Commvault@######"
}
}
GET /emailserver
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/EmailServer' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'