implemented emailer for welcome email (though the email confirmation system is horribly broken)

This commit is contained in:
Julian Lam
2013-12-31 18:00:10 -05:00
parent 5a527de287
commit 339ed4e47b
4 changed files with 8 additions and 17 deletions

View File

@@ -59,8 +59,8 @@ Emailer.send = function(template, uid, params) {
if (!err) {
Plugins.fireHook('action:email.send', {
to: email,
from: Meta.config['email:from'],
subject: subject,
from: Meta.config['email:from'] || 'no-reply@localhost.lan',
subject: params.subject,
html: results.html,
plaintext: results.plaintext
});