1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-22 19:33:27 +01:00
This commit is contained in:
Philipp Heckel 2021-12-26 14:36:38 +01:00
parent ec7e58a6a2
commit bcc424f2aa

View file

@ -29,7 +29,6 @@ func (s *smtpMailer) Send(senderIP, to string, m *message) error {
if err != nil { if err != nil {
return err return err
} }
println(message)
auth := smtp.PlainAuth("", s.config.SMTPUser, s.config.SMTPPass, host) auth := smtp.PlainAuth("", s.config.SMTPUser, s.config.SMTPPass, host)
return smtp.SendMail(s.config.SMTPAddr, auth, s.config.SMTPFrom, []string{to}, []byte(message)) return smtp.SendMail(s.config.SMTPAddr, auth, s.config.SMTPFrom, []string{to}, []byte(message))
} }