Fix typo
This commit is contained in:
parent
f498cddc7a
commit
e58b2fa669
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue