pull/78/head
Hunter Long 2018-09-16 11:37:01 -07:00
parent 82ac8bfc27
commit 673852b3c9
1 changed files with 1 additions and 1 deletions

View File

@ -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()