add config.smtpPort

This commit is contained in:
Girish Ramakrishnan
2016-05-24 00:52:35 -07:00
parent 57a823a698
commit 9570086c87
3 changed files with 3 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ function sendMails(queue) {
var transport = nodemailer.createTransport(smtpTransport({
host: mailServerIp,
port: 2525, // this value comes from mail container
port: config.get('smtpPort'),
auth: {
user: 'no-reply', // derive from adminEmail
pass: 'supersecret'