supply a bogus username/password

This commit is contained in:
Girish Ramakrishnan
2016-05-05 15:24:52 -07:00
parent c3c18e8a4b
commit 9e673c3890
+9 -1
View File
@@ -159,7 +159,15 @@ function sendMails(queue) {
var transport = nodemailer.createTransport(smtpTransport({
host: mailServerIp,
port: 2500 // this value comes from mail container
port: 2500, // this value comes from mail container
requireTLS: true, // STARTTLS
auth: {
user: 'webadmin',
pass: 'supersecret'
},
tls: {
rejectUnauthorized: false // so that it works on dev, staging
}
}));
debug('Processing mail queue of size %d (through %s:2500)', queue.length, mailServerIp);