diff --git a/plugin.go b/plugin.go index 0fcd851..8256f48 100644 --- a/plugin.go +++ b/plugin.go @@ -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 {