use port 2525

This commit is contained in:
Girish Ramakrishnan
2016-05-16 12:52:36 -07:00
parent b92ed8d079
commit 099eb2bca4
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -159,14 +159,14 @@ function sendMails(queue) {
var transport = nodemailer.createTransport(smtpTransport({
host: mailServerIp,
port: 2500, // this value comes from mail container
port: 2525, // this value comes from mail container
auth: {
user: 'no-reply', // derive from adminEmail
pass: 'supersecret'
}
}));
debug('Processing mail queue of size %d (through %s:2500)', queue.length, mailServerIp);
debug('Processing mail queue of size %d (through %s:2525)', queue.length, mailServerIp);
async.mapSeries(queue, function iterator(mailOptions, callback) {
transport.sendMail(mailOptions, function (error) {