Add MAIL_FROM env

This commit is contained in:
Girish Ramakrishnan
2016-05-05 00:28:08 -07:00
parent b46008f0b1
commit 636b71ce6f

View File

@@ -403,6 +403,7 @@ function setupSendMail(app, options, callback) {
'MAIL_SMTP_PORT=2500', // if you change this, change the mail container
'MAIL_SMTP_USERNAME=' + username,
'MAIL_SMTP_PASSWORD=' + hat(256), // this is ignored
'MAIL_FROM=' + username + '@' + config.fqdn(),
'MAIL_DOMAIN=' + config.fqdn()
];