Skip to content
Snippets Groups Projects
Commit 9185de32 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Fix mail targets for logging.

The "From" entry was missing resulting in emails not being sent.

Refers to #3
parent b600edf6
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,7 @@ namespace AutoTx
var mailTargetFatal = new MailTarget {
SmtpServer = _config.SmtpHost,
SmtpPort = _config.SmtpPort,
From = _config.EmailFrom,
To = _config.AdminEmailAdress,
Name = "mailfatal",
};
......@@ -127,6 +128,7 @@ namespace AutoTx
var mailTargetError = new MailTarget {
SmtpServer = _config.SmtpHost,
SmtpPort = _config.SmtpPort,
From = _config.EmailFrom,
To = _config.AdminDebugEmailAdress,
Name = "mailerror",
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment