删除多余的代码
This commit is contained in:
parent
b7c7e6c062
commit
62db6c82ec
@ -5,7 +5,6 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"net/smtp"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"apigo.cc/gojs"
|
"apigo.cc/gojs"
|
||||||
@ -221,7 +220,7 @@ func (obj *Object) Send(vm *goja.Runtime, to []string, subject, content string,
|
|||||||
InsecureSkipVerify: false,
|
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)
|
err := conn.DialAndSend(msg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user