mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
- missing Attachments Key fix
This commit is contained in:
parent
2bb81eef31
commit
a4c816b291
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user