mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Remove From prefix from SMTP (#154)
This commit is contained in:
parent
71ede02e1c
commit
ef552aaed4
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func (o *SmtpMail) Send(toName string, to string, subject string, content string
|
|||
}
|
||||
|
||||
email := mail.NewMSG()
|
||||
email.SetFrom("From "+addressField(o.from, o.fromName)).
|
||||
email.SetFrom(addressField(o.from, o.fromName)).
|
||||
AddTo(addressField(to, toName)).
|
||||
SetSubject(subject).
|
||||
SetBody(mail.TextHTML, content)
|
||||
|
|
Loading…
Add table
Reference in a new issue