注册验证邮件模板
可用变量:{$username} (用户名), {$code} (验证码)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>欢迎注册 Zeryu 零域</title>
<style>
body { margin: 0 !important; padding: 0 !important; background-color: #f2f2f2; }
</style>
</head>
<body style="margin: 0; padding: 0; background-color: #f2f2f2;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f2f2f2; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dcdcdc; border-collapse: collapse;">
<tr>
<td style="padding: 40px 40px 30px 40px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 24px; font-weight: bold; color: #0078d4;">
Zeryu 零域
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 18px; color: #333333; font-weight: bold;">
Hi {$username},
</td>
</tr>
<tr><td height="10" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
欢迎!为了完成注册,请使用以下验证码:
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" style="background-color: #f8f9fa; border: 1px solid #dcdcdc; padding: 25px 20px;">
<div style="font-size: 32px; font-weight: bold; color: #0078d4; letter-spacing: 5px; font-family: Arial, sans-serif;">
{$code}
</div>
<p style="color: #666666; margin: 10px 0 0 0; font-size: 14px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
验证码5分钟内有效
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
如果您没有申请注册,请忽略此邮件。
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 30px 40px; border-top: 1px solid #eeeeee; color: #999999; font-size: 12px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
<p style="margin: 0 0 5px 0;">此邮件由系统自动发送,请勿回复。</p>
<p style="margin: 0;">© {$year} Zeryu 零域. All rights reserved.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>密码重置邮件模板
可用变量:{$username} (用户名), {$code} (验证码)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zeryu 零域 - 密码重置</title>
<style>
body { margin: 0 !important; padding: 0 !important; background-color: #f2f2f2; }
</style>
</head>
<body style="margin: 0; padding: 0; background-color: #f2f2f2;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f2f2f2; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dcdcdc; border-collapse: collapse;">
<tr>
<td style="padding: 40px 40px 30px 40px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 24px; font-weight: bold; color: #333333;">
Zeryu 零域 - <span style="color: #d83b01;">密码重置</span>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 18px; color: #333333; font-weight: bold;">
Hi {$username},
</td>
</tr>
<tr><td height="10" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
我们收到了您的密码重置请求。请使用以下验证码来重置您的密码:
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" style="background-color: #fdf6f6; border: 1px solid #d83b01; padding: 25px 20px;">
<div style="font-size: 32px; font-weight: bold; color: #d83b01; letter-spacing: 5px; font-family: Arial, sans-serif;">
{$code}
</div>
<p style="color: #666666; margin: 10px 0 0 0; font-size: 14px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
验证码5分钟内有效
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="background-color: #fff3cd; border: 1px solid #ffeaa7; padding: 15px;">
<p style="color: #856404; margin: 0; font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; line-height: 1.5;">
<strong>安全提示:</strong>如果您没有申请密码重置,请立即检查您的账户安全。
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 30px 40px; border-top: 1px solid #eeeeee; color: #999999; font-size: 12px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
<p style="margin: 0 0 5px 0;">此邮件由系统自动发送,请勿回复。</p>
<p style="margin: 0;">© {$year} Zeryu 零域. All rights reserved.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>密码修改通知邮件模板
可用变量:{$username} (用户名), {$change_time} (修改时间)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zeryu 零域 - 密码修改成功</title>
<style>
body { margin: 0 !important; padding: 0 !important; background-color: #f2f2f2; }
</style>
</head>
<body style="margin: 0; padding: 0; background-color: #f2f2f2;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f2f2f2; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dcdcdc; border-collapse: collapse;">
<tr>
<td style="padding: 40px 40px 30px 40px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 24px; font-weight: bold; color: #333333;">
Zeryu 零域 - <span style="color: #107c10;">密码修改成功</span>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 18px; color: #333333; font-weight: bold;">
Hi {$username},
</td>
</tr>
<tr><td height="10" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
您的账户密码已于 <strong style="color: #333;">{$change_time}</strong> 成功修改。
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="background-color: #d4edda; border: 1px solid #c3e6cb; padding: 15px;">
<p style="color: #155724; margin: 0; font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; line-height: 1.5;">
✅ <strong>密码修改成功,</strong>您的账户安全性已得到提升。
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
如果这不是您本人的操作,请立即:
</td>
</tr>
<tr><td height="20" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20" valign="top" style="font-family: Arial, sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">•</td>
<td valign="top" style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
联系我们的客服支持
</td>
</tr>
<tr><td height="10" colspan="2" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td width="20" valign="top" style="font-family: Arial, sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">•</td>
<td valign="top" style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
检查您的账户安全设置
</td>
</tr>
<tr><td height="10" colspan="2" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td width="20" valign="top" style="font-family: Arial, sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">•</td>
<td valign="top" style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
考虑启用更强的安全措施
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 30px 40px; border-top: 1px solid #eeeeee; color: #999999; font-size: 12px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
<p style="margin: 0 0 5px 0;">此邮件由系统自动发送,请勿回复。</p>
<p style="margin: 0;">© {$year} Zeryu 零域. All rights reserved.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>邮箱更换验证邮件模板
可用变量:{$username} (用户名), {$code} (验证码)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zeryu 零域 - 邮箱更换验证</title>
<style>
body { margin: 0 !important; padding: 0 !important; background-color: #f2f2f2; }
</style>
</head>
<body style="margin: 0; padding: 0; background-color: #f2f2f2;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f2f2f2; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dcdcdc; border-collapse: collapse;">
<tr>
<td style="padding: 40px 40px 30px 40px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 24px; font-weight: bold; color: #333333;">
Zeryu 零域 - <span style="color: #d83b01;">邮箱更换验证</span>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 18px; color: #333333; font-weight: bold;">
Hi {$username},
</td>
</tr>
<tr><td height="10" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
您正在更换账户绑定的邮箱地址。请使用以下验证码来确认此操作:
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" style="background-color: #fdf6f6; border: 1px solid #d83b01; padding: 25px 20px;">
<div style="font-size: 32px; font-weight: bold; color: #d83b01; letter-spacing: 5px; font-family: Arial, sans-serif;">
{$code}
</div>
<p style="color: #666666; margin: 10px 0 0 0; font-size: 14px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
验证码5分钟内有效
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="background-color: #fff3cd; border: 1px solid #ffeaa7; padding: 15px;">
<p style="color: #856404; margin: 0; font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; line-height: 1.5;">
<strong>重要提示:</strong>确认后,您将无法再使用旧邮箱接收系统通知。
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
如果您没有申请更换邮箱,请忽略此邮件并检查您的账户安全。
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 30px 40px; border-top: 1px solid #eeeeee; color: #999999; font-size: 12px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
<p style="margin: 0 0 5px 0;">此邮件由系统自动发送,请勿回复。</p>
<p style="margin: 0;">© {$year} Zeryu 零域. All rights reserved.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>测试邮件模板
可用变量:{$test_time} (测试时间), {$this->smtp_host} (SMTP服务器), {$this->smtp_username} (SMTP用户名)
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zeryu 零域 - SMTP配置测试</title>
<style>
body { margin: 0 !important; padding: 0 !important; background-color: #f2f2f2; }
</style>
</head>
<body style="margin: 0; padding: 0; background-color: #f2f2f2;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f2f2f2; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" style="max-width: 600px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dcdcdc; border-collapse: collapse;">
<tr>
<td style="padding: 40px 40px 30px 40px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 24px; font-weight: bold; color: #333333;">
Zeryu 零域 - <span style="color: #107c10;">SMTP测试成功</span>
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 20px; color: #333333; font-weight: bold;">
🎉 SMTP配置测试成功!
</td>
</tr>
<tr><td height="10" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #555555; line-height: 1.6;">
恭喜!您的SMTP邮件服务器配置正确,可以正常发送邮件。
</td>
</tr>
<tr><td height="30" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: #f8f9fa; border: 1px solid #dee2e6;">
<tr>
<td style="padding: 20px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 16px; color: #107c10; font-weight: bold; padding-bottom: 10px;">
测试信息
</td>
</tr>
<tr><td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; color: #666666; line-height: 1.7;"><strong>测试时间:</strong> {$test_time}</td></tr>
<tr><td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; color: #666666; line-height: 1.7;"><strong>发件服务器:</strong> {$smtp_server}</td></tr>
<tr><td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; color: #666666; line-height: 1.7;"><strong>发件邮箱:</strong> {$smtp_username}</td></tr>
<tr><td style="font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; color: #666666; line-height: 1.7;"><strong>加密方式:</strong> {$smtp_secure}</td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr><td height="20" style="font-size: 1px; line-height: 1px;"> </td></tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="background-color: #d4edda; border: 1px solid #c3e6cb; padding: 15px;">
<p style="color: #155724; margin: 0; font-family: Arial, 'Microsoft YaHei', sans-serif; font-size: 14px; line-height: 1.5;">
✅ <strong>配置验证成功</strong><br>
<span style="color: #155724;">您的系统现在可以正常发送用户注册、密码重置等功能邮件。</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding: 30px 40px; border-top: 1px solid #eeeeee; color: #999999; font-size: 12px; font-family: Arial, 'Microsoft YaHei', sans-serif;">
<p style="margin: 0 0 5px 0;">此邮件由系统自动发送,请勿回复。</p>
<p style="margin: 0;">© {$year} Zeryu 零域. All rights reserved.</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>