Get SMTP alerts
Get details about SMTP email alert configuration.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/alerts/smtp
Return codes
Code | Data | Description |
200 | smtpAlerts | SMTP alert config successfully retrieved. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/alerts/smtp
Response example
HTTP/1.1 200 OK { "smtpAlerts": { "fromAddress": "hnas@example.com", "smtpServer": "mail.example.com" } }