Fix moderator notification

`Orchard.Email.Services.SmtpMessageChannel.Process` expects a string for Recipients, not a string array. This results in an *Object reference not set to an instance of an object* exception and the moderator(s) do not get notified. Fixes #4928.
This commit is contained in:
Dale Newman
2015-06-25 15:45:50 -04:00
parent 7bf2c702a1
commit 6063ba31d0

View File

@@ -117,7 +117,7 @@ namespace Orchard.Users.Services {
var parameters = new Dictionary<string, object> {
{"Subject", T("New account").Text},
{"Body", _shapeDisplay.Display(template)},
{"Recipients", new [] { recipient.Email }}
{"Recipients", recipient.Email }
};
_messageService.Send("Email", parameters);