aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'PollutometerWebApi/EmailSender.cs')
-rw-r--r--PollutometerWebApi/EmailSender.cs4
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)