Skip to content

Commit

Permalink
feat: apply tls options on transport
Browse files Browse the repository at this point in the history
  • Loading branch information
pr-Mais committed Nov 23, 2023
1 parent 5dbfd88 commit 94c00f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firestore-send-email/functions/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const setSmtpCredentials = (config: Config) => {
},
});
} else {
transport = createTransport(url.href);
transport = createTransport(url.href, {
tls: parseTlsOptions(config.tls),
});
}

return transport;
Expand Down

0 comments on commit 94c00f7

Please sign in to comment.