Closed wassimz closed 6 years ago
Can you please provide us a reproducible code sample so we can look further into this.
it's because the second argument that is being passed to the logger is not an object, it's a string.
https://github.com/nodemailer/nodemailer/blob/master/lib/smtp-connection/index.js#L467-L479
we should probably interpret a second argument (and other args) that's a string passed to logger as a util.format
instance
I just finished writing the patch for this and will release a new version soon, and will also update email-templates. Give me a moment
Please upgrade to v0.0.7+ of @ladjs/logger via npm install @ladjs/logger@latest
or yarn add @ladjs/logger@latest
. Also make sure you upgrade your usage of koa-meta
, as there is a newer version released of that too npm install koa-meta@latest
or yarn add koa-meta@latest
.
If you are using @ladjs/web
, you can upgrade that as well.
While I am testing the email-template plugin + nodemailer (using gmail trasnport), I got this issue
This happens when nodemailer try to log information using this module.
Any hints ??