diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2017-12-01 18:07:59 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2017-12-01 18:07:59 +0100 |
commit | 644d63b7073f59290029bf084fb57db5a501309d (patch) | |
tree | 0e9f82403961020ede43abac39b303ade13cb1b3 /PollutometerWebApi/EmailSender.cs | |
parent | 79bf391df757c50374a5acde3008860d48295926 (diff) |
Fixed e-mail layout.
Diffstat (limited to 'PollutometerWebApi/EmailSender.cs')
-rw-r--r-- | PollutometerWebApi/EmailSender.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PollutometerWebApi/EmailSender.cs b/PollutometerWebApi/EmailSender.cs index 9effa47..6d8702e 100644 --- a/PollutometerWebApi/EmailSender.cs +++ b/PollutometerWebApi/EmailSender.cs @@ -29,8 +29,8 @@ namespace PollutometerWebApi "\n" + "<img src=\"https://i.imgflip.com/20b4q2.jpg\"/>\n" + "\n" + - $"The warning was triggered by {gasName}. " + - $"Air quality index: {max}"; + $"<p>The warning was triggered by {gasName}.</p>\n" + + $"<p>Air quality index: {max}</p>"; client.Send(mail); } catch(Exception ex) |