Minor Changes

This commit is contained in:
Joao M 2022-07-16 13:53:16 -05:00 committed by GitHub
parent efbc36d61f
commit 934e2b8312
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":