Revert "Temporary email test setup"

This reverts commit 5e928e7980.
This commit is contained in:
Benedek Farkas
2024-03-11 14:43:50 +01:00
parent 8449eade95
commit a803d7bc2d
2 changed files with 2 additions and 4 deletions

View File

@@ -54,9 +54,7 @@ namespace Orchard.Email.Controllers {
else {
_smtpChannel.Process(new Dictionary<string, object> {
{"Recipients", testSettings.To},
{"Subject", T("Orchard CMS - SMTP settings test email").Text},
{"NotifyReadEmail", "true"},
{"Attachments", new string[] { "C:\\Users\\Benedek\\Desktop\\test.txt", "C:\\Users\\Benedek\\Desktop\\test2.txt" } }
{"Subject", T("Orchard CMS - SMTP settings test email").Text}
});
}

View File

@@ -91,7 +91,7 @@
<legend>@T("Test those settings:")</legend>
<div>
<label for="emailtestto">@T("To:")</label>
<input type="text" id="emailtestto" class="large text" value="benedek.farkas@lombiq.com" />
<input type="text" id="emailtestto" class="large text" />
</div>
<div>
<button type="button" id="emailtestsend" class="button grey">@T("Send")</button>