Skip to content

Commit

Permalink
🐛 Remove specific ciphers in tls config (#1065)
Browse files Browse the repository at this point in the history
This causes issues with my SMTP servers
  • Loading branch information
lukevella authored Mar 16, 2024
1 parent 90f0d90 commit 2192ef1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/emails/src/send-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,9 @@ export class EmailClient {
pass: process.env["SMTP_PWD"],
}
: undefined,
tls:
process.env["SMTP_TLS_ENABLED"] === "true"
? {
ciphers: "SSLv3",
rejectUnauthorized: false,
}
: undefined,
tls: {
rejectUnauthorized: process.env["SMTP_TLS_ENABLED"] === "true",
},
});
break;
}
Expand Down

0 comments on commit 2192ef1

Please sign in to comment.