Use Golang net/smtp instead of gomail's smtp to send email (#36055) (#36083)

Backport #36055 by @lunny

Replace #36032
Fix #36030

This PR use `net/smtp` instead of gomail's smtp. Now
github.com/wneessen/go-mail will be used only for generating email
message body.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Giteabot
2025-12-04 18:58:01 +00:00
committed by GitHub
co-authored by Lunny Xiao
parent 52902d4ece
commit 0ab447005d
4 changed files with 64 additions and 14 deletions
+1 -1
View File
@@ -6,9 +6,9 @@ package sender
import (
"errors"
"fmt"
"net/smtp"
"github.com/Azure/go-ntlmssp"
"github.com/wneessen/go-mail/smtp"
)
type loginAuth struct {