node.js - Send Nodemailer e-mail with Namecheap email -


i have been successful connecting gmail account xoauth, acquired namecheap privateemail account , can't life of me figure out how set up. code have:

var smtp = nodemailer.createtransport({     host: 'mail.privateemail.com',     port: 25,     auth: {         user: 'contact@myemail.com',         pass: 'mypassword'     } }); 

i saw this question , tried other port numbers.

it may secured connection in case port should 465

465 port ssl, 25 or 26 tls/starttls


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -