mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-06-28 15:34:39 +08:00
Temporary email test setup
This commit is contained in:
parent
041a3613bc
commit
5e928e7980
@ -54,7 +54,9 @@ namespace Orchard.Email.Controllers {
|
||||
else {
|
||||
_smtpChannel.Process(new Dictionary<string, object> {
|
||||
{"Recipients", testSettings.To},
|
||||
{"Subject", T("Orchard CMS - SMTP settings test email").Text}
|
||||
{"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" } }
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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" />
|
||||
<input type="text" id="emailtestto" class="large text" value="benedek.farkas@lombiq.com" />
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" id="emailtestsend" class="button grey">@T("Send")</button>
|
||||
|
Loading…
Reference in New Issue
Block a user