Use group receivers when sending email, custom subject

This commit is contained in:
Fabio Salvini
2017-06-26 16:27:53 +02:00
parent ab5d442d9f
commit b11ab480b9
2 changed files with 45 additions and 6 deletions

View File

@@ -5,6 +5,11 @@
[
{sender, "log@monitor.com"},
{default_receiver, "salvini.fabio001@gmail.com"},
%% Subject of the email.
%% Placeholders:
%% %f: the full path of the log file (ex. /var/log/myapp.log).
%% %F: the basename of the log file (ex. myapp).
{subject, "[%F] Error notification"},
{connection, [
{relay, "smtp.fabiosalvinii.com"},
{username, "salvini.fabio001@gmail.com"},