From a7f232b4c6654881e6a8bd2ac48ee149603d74de Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 2 Aug 2017 08:06:41 +1000 Subject: [PATCH] docs(faq): added nodemailer info #513 #522 --- docs/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 2c63507..3abbbdf 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -49,3 +49,7 @@ log4js.configure({ pm2InstanceVar: 'INSTANCE_ID' }); ``` + +## NPM complains about nodemailer being deprecated, what should I do? + +Nodemailer version 4.0.1 (the not-deprecated version) requires a node version >= 6, but log4js supports node versions >= 4. So until I stop supporting node versions less than 6 I can't update the dependency. It's only an optional dependency anyway, so you're free to install nodemailer@4.0.1 if you want - as far as I know it should work, the API looks the same to me. If you know that the smtp appender definitely doesn't work with nodemailer v4, then please create an issue with some details about the problem.