diff --git a/pkg/mail/mail.go b/pkg/mail/mail.go index 0cebb69a..824db087 100644 --- a/pkg/mail/mail.go +++ b/pkg/mail/mail.go @@ -54,6 +54,7 @@ func getClient() (*mail.Client, error) { //#nosec G402 mail.WithTLSConfig(&tls.Config{ InsecureSkipVerify: config.MailerSkipTLSVerify.GetBool(), + ServerName: config.MailerHost.GetString(), }), }