Get SMTP alert profile
Get a specific SMTP email alert profile.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/alerts/smtp/{profileId}
Parameters
Name | Type | Required | Values | Description |
profileId | URI_PARAM | Y | string | Specifies the email alert profile object ID. |
Return codes
Code | Data | Description |
200 | emailProfile | SMTP email profile successfully retrieved. |
400 | Error Message | Missing or invalid request contents. |
404 | Error Message | Requested resource not found. |
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/profiles/6d61696e3a3a3a303a3a3a4f49445f24232140255f56
Response example
HTTP/1.1 200 OK { "emailProfile": { "discloseDetails": true, "excludeAttachments": false, "htmlFormat": true, "ignoreNdmpEvents": false, "isEnabled": true, "maxEmailLength": 65536, "name": "main", "notificationFrequencyInfo": "NEVER", "notificationFrequencySevere": "IMMEDIATELY", "notificationFrequencyWarning": "IMMEDIATELY", "objectId": "6d61696e3a3a3a303a3a3a4f49445f24232140255f56", "recipients": [ "frank@example.com" ], "sendDailyStatusEmails": true, "sendEmptyEmails": true, "summaryTimes": [ "08:00" ], "text": "", "uuEncode": true } }