mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-18 19:51:45 +08:00
- missing Attachments Key fix
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Orchard.Email.Services {
|
||||
From = Read(parameters, "From"),
|
||||
Bcc = Read(parameters, "Bcc"),
|
||||
Cc = Read(parameters, "CC"),
|
||||
Attachments = (IEnumerable<string>)parameters["Attachments"]
|
||||
Attachments = (IEnumerable<string>)(parameters.ContainsKey("Attachments") ? parameters["Attachments"] : new List<string>())
|
||||
};
|
||||
|
||||
if (emailMessage.Recipients.Length == 0) {
|
||||
|
||||
Reference in New Issue
Block a user