/config/alert/reporter/mail/server

The hostname of a mail server that speaks the SMTP protocol. If this is set to an empty string, the meter will attempt to deliver mail directly to the destination host. Many Internet service providers block direct mail delivery, so leaving this string empty generally results in alert emails getting blocked.

Get /config/alert/reporter/mail/server

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/config/alert/reporter/mail/server
Request samples
Response samples
application/json
{
  • "result": "smtp.mail.com",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/alert/reporter/mail/server

SecurityApiKey
Request
Request Body schema: application/json
string (configAlertReporterMailServer)

The hostname of a mail server that speaks the SMTP protocol. If this is set to an empty string, the meter will attempt to deliver mail directly to the destination host. Many Internet service providers block direct mail delivery, so leaving this string empty generally results in alert emails getting blocked.

Responses
200

Normal response.

401

Unauthorized response.

put/config/alert/reporter/mail/server
Request samples
application/json
"smtp.mail.com"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/alert/reporter/mail/server

SecurityApiKey
Request
Request Body schema: application/json
string (configAlertReporterMailServer)

The hostname of a mail server that speaks the SMTP protocol. If this is set to an empty string, the meter will attempt to deliver mail directly to the destination host. Many Internet service providers block direct mail delivery, so leaving this string empty generally results in alert emails getting blocked.

Responses
200

Normal response.

401

Unauthorized response.

post/config/alert/reporter/mail/server
Request samples
application/json
"smtp.mail.com"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/alert/reporter/mail/server

Reset to empty string.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/alert/reporter/mail/server
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}