1var transporter = nodemailer.createTransport({
2 host: "outmail.abc.co.th", // hostname
3 secure: false, // use SSL
4 port: 25, // port for secure SMTP
5 auth: {
6 user: "username@abc.co.th",
7 pass: "passwordmail"
8 },
9 tls: {
10 rejectUnauthorized: false
11 }
12 });
13