Closed felipe-pereira closed 6 years ago
Yeah I agree this would be amazing to have - let me take a look here
I filed an issue with Nodemailer (the core package we use) here, but I will patch in the interim for you. One moment.
Please install v3.6.1
of email-templates
for support via npm install email-templates@latest
or yarn add email-templates@latest
. I've provided documentation for how to get access to the message rendered (see Inspect Message under the Debugging section in the README).
cc @felipe-pereira
Superb!, I'll try it, thanks.
Hi, I'm using the lib like this:
For testing purposes I would like to check that the generated email html has the token, so I need the render result passed to
cb
I checked what's returned there and got this (no what I need):
How can I get the email body there? (I only need it when env is test, so using a flag for this would be great)