Closed 1thrasher closed 4 years ago
Oops, it appears my MAILGUN_DOMAIN
environment variable was not set, and nodemailer-mailgun-transport
did not return the error.
I ended up switching to a different transporter (mailgun-nodemailer-transport), which returned a proper error that helped me see the omission in my server config. Doh!
After the latest round of npm updates (
email-templates v6.0.3
,nodemailer v6.3.1
,nodemailer-mailgun-transport v1.4.0
) I've encountered the following email-templates error:I'm initializing as follows:
and sending like so:
This works fine on my local dev machine, but not on my production host (Heroku).
Any thoughts? Thank you in advance!