Fix typo
This commit is contained in:
parent
f498cddc7a
commit
e58b2fa669
|
@ -60,7 +60,7 @@ func NewEmailer(srv ...Server) (Messenger, error) {
|
||||||
auth = &loginAuth{username: s.Username, password: s.Password}
|
auth = &loginAuth{username: s.Username, password: s.Password}
|
||||||
case "":
|
case "":
|
||||||
default:
|
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)
|
pool, err := email.NewPool(fmt.Sprintf("%s:%d", s.Host, s.Port), s.MaxConns, auth)
|
||||||
|
|
Loading…
Reference in New Issue