Forgot password email sent as raw text, but contains html
#U4-8703 Fixed
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Umbraco.Core.Security
|
||||
|
||||
//TODO: This check could be nicer but that is the way it is currently
|
||||
mailMessage.IsBodyHtml = message.Body.IsNullOrWhiteSpace() == false
|
||||
&& message.Body.Contains("<") && message.Body.Contains("/>");
|
||||
&& message.Body.Contains("<") && message.Body.Contains("</");
|
||||
|
||||
await client.SendMailAsync(mailMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user