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.
You have
auth: { user: 'user@gmail.com', password: 'password' }
But you should write this
auth: { user: 'user@gmail.com', pass: 'password' }
Just rename password to pass.