4
I have an e-mail server at the hostgator and an account at the same. I need to use the nodemailer to send messages to my clients from this account. For this I need to configure manually with these hostgator instructions
I have tested every possible combination of HOST x PORT in my source code. They all return failed sending, the only setting that sends the email is this.
var transporter = nodemailer.createTransport({
host:"br688.hostgator.com.br",
port:"465",
secure: true,
auth: {
user: '[email protected]',
pass: 'XXXXX'
}
})
However the email does not reach the recipient, I have tried to send to several different emails in various services.
Make sure they have not blocked the mail services. They usually do so to avoid spammers.
– manzetti.denis