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 2f8320c commit 181c6b8Copy full SHA for 181c6b8
packages/core/src/providers/nodemailer.ts
@@ -72,7 +72,9 @@ export default function Nodemailer(
72
text: text({ url, host }),
73
html: html({ url, host, theme }),
74
})
75
- const failed = result.rejected.concat(result.pending).filter(Boolean)
+ const rejected = result.rejected || []
76
+ const pending = result.pending || []
77
+ const failed = rejected.concat(pending).filter(Boolean)
78
if (failed.length) {
79
throw new Error(`Email (${failed.join(", ")}) could not be sent`)
80
}
0 commit comments