Skip to content

Commit

Permalink
Merge pull request #4285 from valadas/mail-missing-body
Browse files Browse the repository at this point in the history
Fixed an issue where all emails where missing the body
  • Loading branch information
mitchelsellers authored Nov 8, 2020
2 parents d6b7fd8 + 7a70fd8 commit 971faf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DNN Platform/Library/Services/Mail/CoreMailProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public override string SendMail(MailInfo mailInfo, SmtpInfo smtpInfo = null)

// message
mailMessage.Subject = HtmlUtils.StripWhiteSpace(mailInfo.Subject, true);
mailMessage.Body = mailInfo.Body;
smtpInfo.Server = smtpInfo.Server.Trim();
if (SmtpServerRegex.IsMatch(smtpInfo.Server))
{
Expand Down

0 comments on commit 971faf3

Please sign in to comment.