GRN-48: Password reset e-mails getting into SPAM folders (#349)

* Changed the way emails look and added an extra string for the user to check their spam folder

* Update verify_email.text.erb
This commit is contained in:
farhatahmad
2019-02-01 12:14:51 -05:00
committed by Jesus Federico
parent 56a72ade9d
commit ffff724712
5 changed files with 60 additions and 40 deletions

View File

@ -15,18 +15,32 @@
# You should have received a copy of the GNU Lesser General Public License along
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
%>
<div style="text-align:center; font-family:'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif">
<div style="display:inline-block; background-color:#F5F7FB; border:1px solid #d3d3d3; padding: 25px 70px">
<%= image_tag(Rails.configuration.branding_image.blank? ? "logo_with_text.png" : Rails.configuration.branding_image) %>
<h1>Password reset</h1>
<h1 style="margin-bottom:30px">Password Reset</h1>
<p>Please click the link below to reset your password:</p>
<p>
It seems like you forgot your password for <%= t('bigbluebutton') %>
</p>
<%= link_to "Reset password", edit_password_reset_url(@user.reset_token,
email: @user.email,
host: @url) %>
<p style="margin-bottom:45px;">
If this is true, please click the link below to reset your password:
</p>
<p>This link will expire in two hours.</p>
<a
style="background: #467fcf;color: #ffffff; padding: 10px 15px; box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);border: 1px solid transparent;text-decoration:none;"
href="<%= edit_password_reset_url(@user.reset_token, email: @user.email, host: @url) %>">
Reset Password
</a>
<p>
If you did not request your password to be reset, please ignore this email and
your password will not be changed.
</p>
<p style="margin-top:45px;">
This link will expire in two hours.
</p>
<p>
You can safely ignore this email if you did not request a password reset.
</p>
</div>
</div>