Notification job must convert \n to <br /> now that IsNodyHtml is set to True

This commit is contained in:
sbwalker
2023-08-14 17:03:21 -04:00
parent c2acd010ce
commit 7cbc21671b
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ namespace Oqtane.Infrastructure
mailMessage.Subject = notification.Subject;
//body
mailMessage.Body = notification.Body;
mailMessage.Body = notification.Body.Replace("\n", "<br />");
// encoding
mailMessage.SubjectEncoding = System.Text.Encoding.UTF8;