fix(email)
This commit is contained in:
@ -56,6 +56,7 @@ func CreateMailClient() (Mailer, error) {
|
|||||||
|
|
||||||
client, err := mail.NewClient(
|
client, err := mail.NewClient(
|
||||||
"smtp.mailbox.org",
|
"smtp.mailbox.org",
|
||||||
|
mail.WithTLSPortPolicy(mail.TLSMandatory),
|
||||||
mail.WithSMTPAuth(mail.SMTPAuthPlain),
|
mail.WithSMTPAuth(mail.SMTPAuthPlain),
|
||||||
mail.WithUsername(os.Getenv("EMAIL_USERNAME")),
|
mail.WithUsername(os.Getenv("EMAIL_USERNAME")),
|
||||||
mail.WithPassword(os.Getenv("EMAIL_PASSWORD")),
|
mail.WithPassword(os.Getenv("EMAIL_PASSWORD")),
|
||||||
|
Reference in New Issue
Block a user