The Email output module allows you to write a simple email message.
| Parameter | Default | Meaning |
|---|---|---|
| server | The IP or DNS name of your SMTP server | |
| port | 165 | Theport for your SMTP server |
| from | The address to send the message from | |
| to | The address to send the message to | |
| password | The password for the SMTP server | |
| subject | The subject line of the email, with event substitutions | |
| format | %M | The content of the email message, with event substitutions |
| timezone | UTC | The timezone to write times in |
[
{
"type": "event",
"method": "email",
"server": "smtp.gmail.com",
"port": 465,
"from": "myemailaddress",
"to": "theiremailaddress",
"password": "******",
"subject": "An Event Happened"
}
]
The above example would send an email with the subject 'An Event Happened' and the content of the log message to 'theiremailaddress'.
Like all of the announcement modules, this module may take some time to execute and will block the process in the mean-time.
Return to the list of output modules.