Compare commits
2 Commits
6f1d8992ab
...
71d5ac8e06
| Author | SHA1 | Date | |
|---|---|---|---|
| 71d5ac8e06 | |||
| c2082d6729 |
@@ -58,7 +58,7 @@ public sealed class SmtpEmailDispatcher
|
|||||||
if (!string.IsNullOrWhiteSpace(req.ReplyTo))
|
if (!string.IsNullOrWhiteSpace(req.ReplyTo))
|
||||||
msg.ReplyTo.Add(MailboxAddress.Parse(req.ReplyTo));
|
msg.ReplyTo.Add(MailboxAddress.Parse(req.ReplyTo));
|
||||||
|
|
||||||
msg.Subject = $"[{_environmentName}] {req.Subject}".Trim();
|
msg.Subject = req.Subject.Trim();
|
||||||
|
|
||||||
var shellStart = _templates.Get("email.html-shell.start", "*");
|
var shellStart = _templates.Get("email.html-shell.start", "*");
|
||||||
var shellEnd = _templates.Get("email.html-shell.end", "*");
|
var shellEnd = _templates.Get("email.html-shell.end", "*");
|
||||||
|
|||||||
Reference in New Issue
Block a user