mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
- missing Attachments Key fix
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Orchard.Email.Services {
|
|||||||
From = Read(parameters, "From"),
|
From = Read(parameters, "From"),
|
||||||
Bcc = Read(parameters, "Bcc"),
|
Bcc = Read(parameters, "Bcc"),
|
||||||
Cc = Read(parameters, "CC"),
|
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) {
|
if (emailMessage.Recipients.Length == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user