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 ...@@ -289,6 +289,9 @@ namespace AutoTx
writeLogDebug("SmtpHost: ====== Not configured, disabling notification emails! ======"); writeLogDebug("SmtpHost: ====== Not configured, disabling notification emails! ======");
} else { } else {
writeLogDebug("SmtpHost: " + _config.SmtpHost); writeLogDebug("SmtpHost: " + _config.SmtpHost);
writeLogDebug("EmailFrom: " + _config.EmailFrom);
writeLogDebug("AdminEmailAdress: " + _config.AdminEmailAdress);
writeLogDebug("AdminDebugEmailAdress: " + _config.AdminDebugEmailAdress);
} }
writeLogDebug(""); writeLogDebug("");
......
...@@ -78,4 +78,7 @@ ...@@ -78,4 +78,7 @@
admin notification before sending the next one --> admin notification before sending the next one -->
<AdminNotificationDelta>60</AdminNotificationDelta> <AdminNotificationDelta>60</AdminNotificationDelta>
<AdminEmailAdress>admin@mydomain.xy</AdminEmailAdress> <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> </ServiceConfig>
\ No newline at end of file
...@@ -59,6 +59,7 @@ namespace AutoTx.XmlWrapper ...@@ -59,6 +59,7 @@ namespace AutoTx.XmlWrapper
public string SmtpPasswortCredential { get; set; } public string SmtpPasswortCredential { get; set; }
public string EmailFrom { get; set; } public string EmailFrom { get; set; }
public string AdminEmailAdress { get; set; } public string AdminEmailAdress { get; set; }
public string AdminDebugEmailAdress { get; set; }
public string EmailPrefix { get; set; } public string EmailPrefix { get; set; }
public int ServiceTimer { get; set; } public int ServiceTimer { get; set; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment