Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
The error is being shown because the host cannot be resolved i.e. because you are appending ssl:// to the host
As per the readme on the github link for nodemailer-smtp-transport your createTransport should be something like this for a secure connection
var transporter = nodemailer.createTransport({
host: 'smtpout.secureserver.net',
port: 465,
auth: { user: 'Email address', pass: 'password' },
secure: true
});
Give the above a shot, I think it should work just fine, if it is not working check your firewall/proxy setting.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
I am sending e mail through my godaddy email account. For that i am using node js for sending emails but it is giving following error :
Source code: