Missing credentials for “PLAIN” nodemailer

后端 未结 6 1691
清歌不尽
清歌不尽 2020-12-03 10:47

I\'m trying to use nodemailer in my contact form to receive feedback and send them directly to an email. This is the form below.

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 11:44

    For me it happened because I forgot to npm install dotenv and require('dotenv').config();

提交回复
热议问题