Minor Changes (#210)

This commit is contained in:
Joao M 2022-09-30 05:21:20 -03:00 committed by GitHub
parent efbc36d61f
commit 0a33ab35b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ type SmtpMail struct {
}
func authType(authType string) mail.AuthType {
switch authType {
switch strings.ToUpper(authType) {
case "PLAIN":
return mail.AuthPlain
case "LOGIN":