You have
auth: {
user: '[email protected]',
password: 'password'
}
But you should write this
auth: {
user: '[email protected]',
pass: 'password'
}
Just rename password to pass.
More Related Contents:
- Link index.html client.js and server.js
- Nodemailer with Gmail and NodeJS
- How do I pass command line arguments to a Node.js program?
- module.exports vs exports in Node.js
- Best way to call an asynchronous function within map?
- How to avoid long nesting of asynchronous functions in Node.js
- Understanding Asynchronous Code in Layman’s terms
- Node.js can’t create Blobs?
- How can i export socket.io into other modules in nodejs?
- Rest with Express.js nested router
- Is there a template engine for Node.js? [closed]
- Module not found: Error: Can’t resolve ‘crypto’
- What is the difference between const and const {} in JavaScript
- Could not load the default credentials? (Node.js Google Compute Engine tutorial)
- Save and render a webpage with PhantomJS and node.js
- How to encrypt data that needs to be decrypted in node.js?
- Check if a node.js module is available
- Convert a directory structure in the filesystem to JSON with Node.js
- javascript – Why is there a spec for sync and async modules?
- How to use MongoDB with promises in Node.js?
- unable to deploy next js to azure
- Why doesn’t Node.js have a native DOM?
- Why can’t I delete a mongoose model’s object properties?
- Difference of using async / await vs promises?
- Calling Express Route internally from inside NodeJS
- Can I use a Gulp task with multiple sources and multiple destinations?
- Heroku: “No default language could be detected for this app” error thrown for node app
- How to run my node.js project on android?
- Firebase-Admin, importing it to react application throws Module not found error
- Can’t get rid of header X-Powered-By:Express