This commit is contained in:
Kailash Nadh 2020-05-11 21:00:06 +05:30
parent f498cddc7a
commit e58b2fa669
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func NewEmailer(srv ...Server) (Messenger, error) {
auth = &loginAuth{username: s.Username, password: s.Password}
case "":
default:
return nil, fmt.Errorf("unknown SMTP auth typer '%s'", s.AuthProtocol)
return nil, fmt.Errorf("unknown SMTP auth type '%s'", s.AuthProtocol)
}
pool, err := email.NewPool(fmt.Sprintf("%s:%d", s.Host, s.Port), s.MaxConns, auth)