#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:
Sipke Schoorstra
2015-07-04 09:51:05 +02:00
parent 1093e16a81
commit 2508f503b7

View File

@@ -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 {