Hostmonster SMTP credentials are not working on node application hosted on digital ocean droplet

238 Views Asked by At

I've a domain purchased from hostmonster and node.js application hosted on the digital ocean droplet. I am using the smtp configurations in my node application with nodemailer module and not receiving the emails on any account. I've used gmail smtp settings and they are working perfect but [email protected] smtp settings are not working in my node.js application.

Note: (I've tried the smtp settings on outlook and mail client roundcube and it's working fine there).

Here are my smtp settings:

const config={
       host:'mail.cuufy.com',
       pool: true,
       tls: {
        rejectUnauthorized: false
       },
       auth: {
           user:'[email protected]',
           pass:'password'
       },
        port: 26
     };

I've also attached Mail client settings in the attachment.

enter image description here

Help in this regard will be highly appreciated!

0

There are 0 best solutions below