FIX: Improve participant display in group SMTP emails (#13539)

This PR makes several changes to the group SMTP email contents to make it look more like a support inbox message.

* Remove the context posts, they only add clutter to the email and replies
* Display email addresses of staged users instead of odd generated usernames
* Add a "please reply above this line" message to sent emails
This commit is contained in:
Martin Brennan
2021-06-28 10:42:06 +10:00
committed by GitHub
parent 87684f7c5e
commit d3e27cabf6
8 changed files with 108 additions and 49 deletions

View File

@ -232,6 +232,7 @@ module Email
style('.lightbox-wrapper .meta', 'display: none')
style('div.undecorated-link-footer a', "font-weight: normal;")
style('.mso-accent-link', "mso-border-alt: 6px solid #{SiteSetting.email_accent_bg_color}; background-color: #{SiteSetting.email_accent_bg_color};")
style('.reply-above-line', "font-size: 10px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;color: #b5b5b5;padding: 5px 0px 20px;border-top: 1px dotted #ddd;")
onebox_styles
plugin_styles