var transporter = nodemailer.createTransport({ host: "outmail.abc.co.th", // hostname secure: false, // use SSL port: 25, // port for secure SMTP auth: { user: "username@abc.co.th", pass: "passwordmail" }, tls: { rejectUnauthorized: false } });