Cleanup
This commit is contained in:
@@ -1,51 +0,0 @@
|
|||||||
namespace BoredCareers.Services {
|
|
||||||
public partial class EmailService {
|
|
||||||
|
|
||||||
// @UserName
|
|
||||||
// @ResetPassWord
|
|
||||||
// https://mistox.com/account/resetpassword?UserName=@UserName&ResetPwd=@ResetPassWord
|
|
||||||
|
|
||||||
public static string ResetPasswordSubject = "Password Reset Request";
|
|
||||||
public static string ResetPasswordEmail = @"
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang=""en"">
|
|
||||||
<head>
|
|
||||||
<meta charset=""UTF-8"">
|
|
||||||
<meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">
|
|
||||||
<title>Password Reset</title>
|
|
||||||
</head>
|
|
||||||
<body style=""font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 0;"">
|
|
||||||
<table role=""presentation"" style=""width: 100%; background-color: #f4f4f4; padding: 20px 0;"">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table role=""presentation"" style=""max-width: 600px; width: 100%; background-color: #ffffff; margin: 0 auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);"">
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 20px; text-align: center; background-color: #4CAF50; color: #ffffff; border-top-left-radius: 8px; border-top-right-radius: 8px;"">
|
|
||||||
<h2>Password Reset Request</h2>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 20px; text-align: left; font-size: 16px; color: #333333;"">
|
|
||||||
<p>Hi @UserName,</p>
|
|
||||||
<p>We received a request to reset your password. You can reset your password by clicking the button below:</p>
|
|
||||||
<p style=""text-align: center;"">
|
|
||||||
<a href=""https://mistox.com/account/resetpassword?UserName=@UserName&ResetPwd=@ResetPassWord"" style=""background-color: #4CAF50; color: #ffffff; text-decoration: none; padding: 15px 25px; font-size: 16px; border-radius: 5px; display: inline-block;"">Reset Password</a>
|
|
||||||
</p>
|
|
||||||
<p>If you didn't request a password reset, you can safely ignore this email.</p>
|
|
||||||
<p>Best regards</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 10px; text-align: center; background-color: #f4f4f4; color: #888888; font-size: 12px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;"">
|
|
||||||
<p>If you have any questions, feel free to <a href=""mailto:webmaster@mistox.com"" style=""color: #4CAF50; text-decoration: none;"">contact support</a>.</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
";
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
namespace BoredCareers.Services {
|
|
||||||
public partial class EmailService {
|
|
||||||
|
|
||||||
// @UserName
|
|
||||||
// @VerifyPassword
|
|
||||||
// https://mistox.com/api/account/verifyemail?UserName=@UserName&Guid=@VerifyPassword
|
|
||||||
|
|
||||||
public static string VerifyEmailSubject = "Verify Your Email Address";
|
|
||||||
public static string VerifyEmailEmail = @"
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang=""en"">
|
|
||||||
<head>
|
|
||||||
<meta charset=""UTF-8"">
|
|
||||||
<meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">
|
|
||||||
<title>Verify Your Email</title>
|
|
||||||
</head>
|
|
||||||
<body style=""font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 0;"">
|
|
||||||
<table role=""presentation"" style=""width: 100%; background-color: #f4f4f4; padding: 20px 0;"">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table role=""presentation"" style=""max-width: 600px; width: 100%; background-color: #ffffff; margin: 0 auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);"">
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 20px; text-align: center; background-color: #4CAF50; color: #ffffff; border-top-left-radius: 8px; border-top-right-radius: 8px;"">
|
|
||||||
<h2>Verify Email Request</h2>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 20px; text-align: left; font-size: 16px; color: #333333;"">
|
|
||||||
<p>Hi @UserName,</p>
|
|
||||||
<p>Thank you for making an account with us:</p>
|
|
||||||
<p>In order to start using your account we need to verify your email address by clicking the link below:</p>
|
|
||||||
<p style=""text-align: center;"">
|
|
||||||
<a href=""https://mistox.com/account/verifyemail?UserName=@UserName&Guid=@VerifyPassword"" style=""background-color: #4CAF50; color: #ffffff; text-decoration: none; padding: 15px 25px; font-size: 16px; border-radius: 5px; display: inline-block;"">Verify Email</a>
|
|
||||||
</p>
|
|
||||||
<p>If you didn't create an account please ignore this email.</p>
|
|
||||||
<p>Best regards</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td style=""padding: 10px; text-align: center; background-color: #f4f4f4; color: #888888; font-size: 12px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;"">
|
|
||||||
<p>If you have any questions, feel free to <a href=""mailto:webmaster@mistox.com"" style=""color: #4CAF50; text-decoration: none;"">contact support</a>.</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
";
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user