mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
set SmtpHost.Sendgrid secure=true
This commit is contained in:
committed by
Akhil Mohan
parent
372f2be2f3
commit
c05ebbb864
@@ -42,7 +42,7 @@ export const getTlsOption = (host?: SmtpHost | string, secure?: boolean) => {
|
||||
if (!host) return { secure: true };
|
||||
|
||||
if (host === SmtpHost.Sendgrid) {
|
||||
return { requireTLS: true };
|
||||
return { secure: true, port: 465}; // more details here https://nodemailer.com/smtp/
|
||||
}
|
||||
if (host.includes("amazonaws.com")) {
|
||||
return { tls: { ciphers: "TLSv1.2" } };
|
||||
|
||||
Reference in New Issue
Block a user