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

Add a newline to the email body.

Refers to #31
parent 2577193b
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ namespace ATxService ...@@ -18,7 +18,7 @@ namespace ATxService
/// <param name="body">The email body.</param> /// <param name="body">The email body.</param>
private void SendEmail(string recipient, string subject, string body) { private void SendEmail(string recipient, string subject, string body) {
subject = _config.EmailPrefix + subject; subject = _config.EmailPrefix + subject;
body += $"\n\n--\n[{_versionSummary}]"; body += $"\n\n--\n[{_versionSummary}]\n";
if (string.IsNullOrEmpty(_config.SmtpHost)) { if (string.IsNullOrEmpty(_config.SmtpHost)) {
Log.Debug("SendEmail: {0}\n{1}", subject, body); Log.Debug("SendEmail: {0}\n{1}", subject, body);
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment