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

Add AdminDebugEmailAdress config option.

parent c9e1970d
No related branches found
No related tags found
No related merge requests found
......@@ -289,6 +289,9 @@ namespace AutoTx
writeLogDebug("SmtpHost: ====== Not configured, disabling notification emails! ======");
} else {
writeLogDebug("SmtpHost: " + _config.SmtpHost);
writeLogDebug("EmailFrom: " + _config.EmailFrom);
writeLogDebug("AdminEmailAdress: " + _config.AdminEmailAdress);
writeLogDebug("AdminDebugEmailAdress: " + _config.AdminDebugEmailAdress);
}
writeLogDebug("");
......
......@@ -78,4 +78,7 @@
admin notification before sending the next one -->
<AdminNotificationDelta>60</AdminNotificationDelta>
<AdminEmailAdress>admin@mydomain.xy</AdminEmailAdress>
<!-- AdminDebugEmailAdress: an email address where to send certain debug
messages to, e.g. on completed transfers. Can be empty. -->
<AdminDebugEmailAdress>admin@mydomain.xy</AdminDebugEmailAdress>
</ServiceConfig>
\ No newline at end of file
......@@ -59,6 +59,7 @@ namespace AutoTx.XmlWrapper
public string SmtpPasswortCredential { get; set; }
public string EmailFrom { get; set; }
public string AdminEmailAdress { get; set; }
public string AdminDebugEmailAdress { get; set; }
public string EmailPrefix { get; set; }
public int ServiceTimer { get; set; }
......
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