mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
ability to select what kind of test email to send
This commit is contained in:
@@ -203,7 +203,7 @@ SocketAdmin.settings.clearSitemapCache = function(socket, data, callback) {
|
||||
|
||||
SocketAdmin.email.test = function(socket, data, callback) {
|
||||
if (plugins.hasListeners('action:email.send')) {
|
||||
emailer.send('test', socket.uid, {
|
||||
emailer.send(data.template, socket.uid, {
|
||||
subject: '[NodeBB] Test Email',
|
||||
site_title: meta.config.title || 'NodeBB'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user