This commit is contained in:
Julian Lam
2018-03-20 08:41:49 -04:00
parent eaae5b52cd
commit 9e44fc6ae2
3 changed files with 3 additions and 4 deletions

View File

@@ -229,7 +229,7 @@ Emailer.sendToEmail = function (template, email, language, params, callback) {
to: email,
from: meta.config['email:from'] || 'no-reply@' + getHostname(),
from_name: meta.config['email:from_name'] || 'NodeBB',
subject: results.subject,
subject: '[' + meta.config.title + '] ' + results.subject,
html: results.html,
plaintext: htmlToText.fromString(results.html, {
ignoreImage: true,