删除多余的代码

This commit is contained in:
Star 2025-05-01 16:39:05 +08:00
parent b7c7e6c062
commit 62db6c82ec

View File

@ -5,7 +5,6 @@ import (
"encoding/base64"
"fmt"
"io"
"net/smtp"
"strings"
"apigo.cc/gojs"
@ -221,7 +220,7 @@ func (obj *Object) Send(vm *goja.Runtime, to []string, subject, content string,
InsecureSkipVerify: false,
}
}
conn.Auth = smtp.PlainAuth("", obj.username, obj.password, obj.smtpHost)
// conn.Auth = smtp.PlainAuth("", obj.username, obj.password, obj.smtpHost)
err := conn.DialAndSend(msg)
if err != nil {