Configures, modifies, or retrieves relay IP mail settings.
URI | Description |
---|---|
<base_URI>/config/running/system-monitor-mail | Configures the FRU email alerts. |
<base_URI>/config/running/system-monitor-mail/relay | Relay IP mail settings. |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/system-monitor-mail/relay
None
<relay y:self="/rest/config/running/system-monitor-mail/relay/10.20.38.100"> <host-ip>10.20.38.100</host-ip> <domain-name>domain1</domain-name> </relay>
The following is an example of the POST operation to configure the relay host for e-mail to work in a non-DNS environment.
http://host:80/rest/config/running/system-monitor-mail
<relay> <host-ip>10.20.38.120</host-ip> <domain-name>domain1</domain-name> </relay>
None