Commit fd33b018 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

remove 'tls' from nodemailer.createTransport

parent dcec40f2
......@@ -5,15 +5,12 @@ const config = require('./config')[env]
var smtpTransport = nodemailer.createTransport({
host: config.mailer.host,
secureConnection: config.mailer.secureConnection,
secure: config.mailer.secureConnection,
port: config.mailer.port,
auth: {
user: config.mailer.authUser,
pass: config.mailer.authPass
},
tls: {
ciphers: config.mailer.tlsCiphers
}
}
});
var mailOptions = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment