Fix after merge.

This commit is contained in:
Andy Butland
2020-08-25 10:11:19 +02:00
parent 2ea89acaaa
commit 2ed3568295

View File

@@ -411,9 +411,9 @@ namespace Umbraco.Core.Services.Implement
string.Concat(siteUri.Authority, _ioHelper.ResolveUrl(_globalSettings.UmbracoPath)),
summary.ToString());
var fromMail = _contentSettings.Notifications.NotificationEmailAddress ?? _globalSettings.SmtpSettings.From;
var fromMail = _contentSettings.Notifications.NotificationEmailAddress ?? _globalSettings.Smtp.From;
// create the mail message
var mail = new MailMessage(fromMail, mailingUser.Email);
var mail = new MailMessage(fromMail, fromMail);
// populate the message