mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#5298: Suppressed input validation on SMPT test form.
This fixes the issue when you try and use address formats such as "User <user@domain.com>" and adds support for sending HTML as part of the message body. Fixes #5298
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Orchard.Email.Controllers {
|
||||
public Localizer T { get; set; }
|
||||
|
||||
[HttpPost]
|
||||
[ValidateInput(false)]
|
||||
public ActionResult TestSettings(TestSmtpSettings testSettings) {
|
||||
ILogger logger = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user