Node Js Nodemailer Post Internal Server Error 500
Hi all I am trying to send email from my website with nodemailer and express routing after press send button i have info /contactForm 500 internal server error any idea how to solv
Solution 1:
I think you should parse
the body
to JSON. Try the following:
app.use(bodyParser.json());
I think you received a JS Object
instead of JSON
from the client.
Here is more info on how to solve your problem.
Post a Comment for "Node Js Nodemailer Post Internal Server Error 500"