Connection timeout error when sending mail from Zohomail using Nodemailer
问题 Below is my Node app.js code. With these settings, I am receiving a connection timeout error. Any idea what I am missing here? var nodemailer = require("nodemailer"); var transporter = nodemailer.createTransport({ host: 'smtp.zoho.com', port: 465, secure: true, // use SSL auth: { user: '<myemail@example.com>', pass: '<myemailpassword>' } }); var mailOptions = { from: "<fromemail@example.com>", to: "<toemail@example.com>", subject: "Hello", generateTextFromHTML: true, html: { path: './tmpl