From 8c4579d749e4e0411bdb1c5e086aba837b26acb3 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 15 Oct 2024 16:54:43 +0800 Subject: [PATCH] by Robin at 20241015 --- library/email/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/email/send.go b/library/email/send.go index c44ee9e3..9bde1e32 100644 --- a/library/email/send.go +++ b/library/email/send.go @@ -34,7 +34,7 @@ func SendRavenIQTestResult(mail *dbstruct.Email, host string, port int, address, m := gomail.NewMessage() - m.SetHeader("From", mail.GetFrom(), "心意到了官方") + m.SetHeader("From", mail.GetFrom()) m.SetHeader("To", mail.GetTo()) m.SetHeader("Subject", mail.GetSubject()) m.SetBody("text/html", body.String())