mirror of https://github.com/statping/statping
dep fix
parent
82ac8bfc27
commit
673852b3c9
|
@ -147,7 +147,7 @@ func (u *Email) OnSave() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *Email) dialSend(email *EmailOutgoing) error {
|
func (u *Email) dialSend(email *EmailOutgoing) error {
|
||||||
mailer = gomail.NewDialer(emailer.Host, emailer.Port, emailer.Username, emailer.Password)
|
mailer = gomail.NewPlainDialer(emailer.Host, emailer.Port, emailer.Username, emailer.Password)
|
||||||
mailer.TLSConfig = &tls.Config{InsecureSkipVerify: true}
|
mailer.TLSConfig = &tls.Config{InsecureSkipVerify: true}
|
||||||
emailSource(email)
|
emailSource(email)
|
||||||
m := gomail.NewMessage()
|
m := gomail.NewMessage()
|
||||||
|
|
Loading…
Reference in New Issue