The SMTP plugin provides alerts that send e-mail messages over SMTP.
alert smtp.send "example" {
server = "mail.example.com:25"
username = "goplum"
password = "example"
subject_prefix = "ALERT: "
from = "[email protected]"
to = "[email protected]"
}
Sends an e-mail message via an SMTP server. All parameters are required except
for subject_prefix
which defaults to "Goplum alert: "
.
If the SMTP server supports STARTTLS, the connection will switch to use TLS prior to sending any authentication details.