What I'm trying to do is send emails through the nodemailer
library. I believe that the problem is time to configure the host. I tried using gmail and it works perfectly, but when I use my own email provider and it returns this error below.
User authentication failedError: getaddrinfo ENOTFOUND http://myserver.com"
module.exports = {
host: 'http://myserver.com',
port: '587',
user: 'email@myserver.com',
pass: 'mypassword'
}