fix: move sender name to Reply-To
This commit is contained in:
parent
ee8a2cb569
commit
5d10f251a8
@ -61,9 +61,9 @@ public class ContactController : Controller
|
||||
{
|
||||
await sender.WriteEmail
|
||||
.To("Oliver Booth", _destination.Get<string>())
|
||||
.From(name, _sender.Get<string>())
|
||||
.ReplyTo(email)
|
||||
.Subject($"[Contact via Website] {subject}")
|
||||
.From("Contact via Website", _sender.Get<string>())
|
||||
.ReplyTo(name, email)
|
||||
.Subject(subject)
|
||||
.BodyText(message)
|
||||
.SendAsync();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user