From d0065f0c2b9a0900d8180e57c1417785d50e9fac Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Mon, 10 Feb 2025 08:35:05 +0100 Subject: [PATCH] fix from address --- mailer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mailer.go b/mailer.go index 0a936b3..007bdad 100644 --- a/mailer.go +++ b/mailer.go @@ -81,6 +81,7 @@ func (m *Mailer) Send(emailcfg string, to string, data any, opts ...Option) erro // mail.WithSMTPAuth(mail.SMTPAuthNoAuth), mail.WithUsername(m.SMTPConfig.Username), mail.WithPassword(m.SMTPConfig.Password), + mail.WithPort(m.SMTPConfig.Port), } fmt.Println(dialOptions)