diff --git a/ATxService/Email.cs b/ATxService/Email.cs index b7289df9fbd311748207d37fb33b03c8f40018f0..a53b41f342d5485994b71a39c9c6ad62a341fdad 100644 --- a/ATxService/Email.cs +++ b/ATxService/Email.cs @@ -254,8 +254,7 @@ namespace ATxService report += $"\nPrevious system health report notification was sent {elapsedHuman}.\n"; _status.LastStartupNotification = DateTime.Now; - // TODO: recipients for the health report should be configurable, defaulting to admin - return SendAdminEmail(report, "system health report"); + return SendEmail(_config.HealthReportEmailAddress, "system health report", report); } } } \ No newline at end of file