From b46b351594da75b07856e819cab285b9dc15eca8 Mon Sep 17 00:00:00 2001 From: ExTechOp Date: Fri, 19 May 2017 11:41:14 +0300 Subject: [PATCH] Add and to header and footer Adding the html tags makes the emails sent out by rocket.chat better compliant with standards, and lowers the chance they'll be marked as spam. --- packages/rocketchat-lib/server/startup/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rocketchat-lib/server/startup/settings.js b/packages/rocketchat-lib/server/startup/settings.js index bd77f407b7d7..ae4024737caa 100644 --- a/packages/rocketchat-lib/server/startup/settings.js +++ b/packages/rocketchat-lib/server/startup/settings.js @@ -467,13 +467,13 @@ RocketChat.settings.addGroup('General', function() { RocketChat.settings.addGroup('Email', function() { this.section('Header_and_Footer', function() { - this.add('Email_Header', '

[Site_Name]

', { + this.add('Email_Header', '

[Site_Name]

', { type: 'code', code: 'text/html', multiline: true, i18nLabel: 'Header' }); - return this.add('Email_Footer', '
Powered by Rocket.Chat
', { + return this.add('Email_Footer', '
Powered by Rocket.Chat
', { type: 'code', code: 'text/html', multiline: true,