Try to make email not go into spam.

This commit is contained in:
Paul
2021-07-27 16:16:17 +01:00
parent 2407d4da3a
commit ec59d0e9a9
5 changed files with 100 additions and 92 deletions

View File

@@ -15,10 +15,10 @@
<tr>
<td style="padding: 20px 0 30px 0;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #cccccc;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #cccccc;">
<tr>
<td align="center" bgcolor="#ff4654">
<img src="https://revolt.chat/header.png" alt="REVOLT logo" width="600" height="168" style="display: block;" />
<img src="https://revolt.chat/header.png" alt="Revolt logo" width="600" height="168" style="display: block;" />
</td>
</tr>
<tr>
@@ -31,6 +31,9 @@
</tr>
<tr>
<td style="color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; padding: 20px 0 0 0;">
<p>
You requested a password reset, if you did not request this then you can safely ignore it.
</p>
<p style="margin: 0;">
Reset your password by <a href="{{url}}">clicking here</a>.
</p>
@@ -47,13 +50,14 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
<td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;">
<p style="margin: 0;">Sent by REVOLT. &middot; <a style="color: white;" href="https://revolt.chat">Website</a> &middot; <a style="color: white;" href="https://gitlab.insrt.uk/revolt">Source Code</a></p>
<p style="margin: 0;">Sent by Revolt. &middot; <a style="color: white;" href="https://revolt.chat">Website</a></p>
<p>Revolt is a user-first chat platform built with modern web technologies.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</table>
</td>
</tr>

View File

@@ -15,10 +15,10 @@
<tr>
<td style="padding: 20px 0 30px 0;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #cccccc;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #cccccc;">
<tr>
<td align="center" bgcolor="#ff4654">
<img src="https://revolt.chat/header.png" alt="REVOLT logo" width="600" height="168" style="display: block;" />
<img src="https://revolt.chat/header.png" alt="Revolt logo" width="600" height="168" style="display: block;" />
</td>
</tr>
<tr>
@@ -31,6 +31,9 @@
</tr>
<tr>
<td style="color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; padding: 20px 0 0 0;">
<p>
You're almost there! Verify your account to be able to log into the platform.
</p>
<p style="margin: 0;">
Please verify your account by <a href="{{url}}">clicking here</a>.
</p>
@@ -47,13 +50,14 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
<td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;">
<p style="margin: 0;">Sent by REVOLT. &middot; <a style="color: white;" href="https://revolt.chat">Website</a> &middot; <a style="color: white;" href="https://gitlab.insrt.uk/revolt">Source Code</a></p>
<p style="margin: 0;">Sent by Revolt. &middot; <a style="color: white;" href="https://revolt.chat">Website</a></p>
<p>Revolt is a user-first chat platform built with modern web technologies.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</table>
</td>
</tr>

View File

@@ -1,3 +1,3 @@
#!/bin/bash
export version=0.5.1-alpha.11-patch.0
export version=0.5.1-alpha.12
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs

View File

@@ -86,13 +86,13 @@ async fn launch_web() {
templates: Templates {
verify_email: Template {
title: "Verify your REVOLT account.",
text: "Verify your email here: {{url}}",
title: "Verify your Revolt account.",
text: "You're almost there! Verify your account to be able to log into the platform.\nPlease verify your account here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/verify.html"),
},
reset_password: Template {
title: "Reset your REVOLT password.",
text: "Reset your password here: {{url}}",
title: "Reset your Revolt password.",
text: "You requested a password reset, if you did not request this then you can safely ignore it.\nReset your password here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/reset.html"),
},
welcome: None,

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.11-patch.0";
pub const VERSION: &str = "0.5.1-alpha.12";