fix user to match adminEmail

This commit is contained in:
Girish Ramakrishnan
2016-05-07 01:18:40 -07:00
parent a8e458e935
commit bc78f4a6d8
2 changed files with 2 additions and 3 deletions

View File

@@ -401,7 +401,7 @@ function setupSendMail(app, options, callback) {
assert.strictEqual(typeof options, 'object');
assert.strictEqual(typeof callback, 'function');
var from = app.location ? app.location + '-app' : app.manifest.title.replace(/[^a-zA-Z0-9]/, ''); // use no-reply for bare domains
var from = (app.location ? app.location : app.manifest.title.replace(/[^a-zA-Z0-9]/, '')) + '-app';
var env = [
'MAIL_SMTP_SERVER=mail',

View File

@@ -160,9 +160,8 @@ function sendMails(queue) {
var transport = nodemailer.createTransport(smtpTransport({
host: mailServerIp,
port: 2500, // this value comes from mail container
requireTLS: true, // STARTTLS
auth: {
user: 'webadmin',
user: 'no-reply', // derive from adminEmail
pass: 'supersecret'
},
tls: {