We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f0c45 commit 55c5df6Copy full SHA for 55c5df6
packages/emails/src/index.tsx
@@ -64,7 +64,9 @@ export class EmailClient {
64
from: string;
65
replyTo: string;
66
}) {
67
- this.#client = config.smtpConfig ? nodemailer.createTransport(config.smtpConfig) : undefined;
+ this.#client = config.smtpConfig?.host
68
+ ? nodemailer.createTransport(config.smtpConfig)
69
+ : undefined;
70
this.#imagesBaseUrl = config.imagesBaseUrl;
71
this.#from = config.from;
72
this.#replyTo = config.replyTo;
0 commit comments