design(hn): add branded transactional email previews

This commit is contained in:
hellcat committed 2026-11-01 18:28:40 +08:00
1 parent 8c1a01ab3b
commit 97da1ae43a
10 files changed
+204

No files matched your search

+2
View File
@@ -26,6 +26,8 @@
## HN 邮件运行配置
HN独立邮件样式初稿及两封真实收件预览见[邮件主题设计](HN_MAIL_THEME.md);当前为预览,未切换正式模板或DPL。
`/www/wwwroot/hardnerd.net/.env`、HN库的 `mail_flow` 设置;SMTP465 SSL与IMAP993 TLS均校验证书。旧Laravel读取 `MAIL_DRIVER`,已明确设smtp,不能只设MAIL_MAILER。发件名称hardnerd、地址及Reply-To均为自有邮箱,页脚主站hardnerd.net,空MAIL_LOGO_PATH避免沿用DPL图片。
验证码/登录链接/工单回复优先Resend,其他走企业SMTP;额度100/3000且使用官方用量与本地预占,规则沿 [BUSINESS_RULES](BUSINESS_RULES.md)。Resend密钥、IMAP密码与回调签名秘密在HN库加密;SMTP密码只在私有环境,未复制进普通后台可读设置。ACC-HN-MAIL与ACC-RESEND-HN私有字段按GemDocs读取,本文不存值。
+35
View File
@@ -0,0 +1,35 @@
# HN 邮件主题设计
## 当前状态与范围
2026-11-01用户要求设计HN发信模板,并用当前右侧Proton邮箱测试。初稿已完成,独立源文件在 `resources/mail/hn/`;`manifest.json` 明确 `design_preview`、默认不启用。本轮没有替换正式数据库模板、修改共用默认视图、核心业务或DPL,没有改邮箱、SMTP/Resend凭据及自动邮件档位。生产当前模板覆盖表在验收前为空;不得把本轮收到的预览当正式业务邮件已切换。
## 设计与可用模板
深灰底 `#111518`、内容卡 `#1E242A`,HN现有Logo与绿色 `#B4F047`;单列600px表格、内联样式、正文15px/26px、绿色操作按钮,480px下缩小边距。Logo从 `public/brand/hn/logo.svg` 无修改渲染为128px PNG,邮件展示44px,CID嵌入,不依赖远程图片、脚本或外部字体。
| 文件 | 用途 | 必需业务变量 |
| --- | --- | --- |
| `verify.html` | 邮箱验证码 | `code` |
| `mailLogin.html` | 登录确认 | `link` |
| `notify.html` | 通知与回复 | `content` |
| `remindExpire.html` | 订阅即将到期 | 无 |
| `serviceExpired.html` | 套餐已到期 | 无 |
| `remindTraffic.html` | 流量使用提醒 | 无 |
保留既有 `{{url}}`、`{{site_url|https://hardnerd.net}}`、验证码/登录链接5分钟、流量80%和24小时到期提醒语义。内容使用现有MailService的安全变量与占位符渲染;测试通知以text模式转义并保留换行。CID `site-logo@dpl` 仅是现有传输内部兼容标识,实际图片与正文均为HN,不表示引用DPL品牌或数据。
## 实际发信与验收
用户指定的当前Proton收件账号已通过页面账号标识核对,具体收件地址仅保留在私有测试回执,普通Git资料不复制私人联系资料。测试从sitejp02 HN运行环境发出,发件地址mail@hardnerd.dev:
- 服务通知:HN MailMessage 7,purpose=admin_test,既有SMTP通道submitted,已在Proton收件箱收到并打开;Logo、标题、正文换行、按钮、页脚实际显示通过。
- 示例验证码:第一次测试键含点号,Resend HTTP422拒绝(MailMessage 8,failed、无provider_id);服务商标签只支持字母/数字/下划线/连字符,见[官方字段规范](https://github.com/resend/resend-openapi/blob/main/resend.yaml)。仅改本次测试键为连字符形式后,MailMessage 9通过Resend submitted,已在Proton收件箱收到并打开对应预览,Logo、验证码区、示例提示和页脚显示通过。旧失败记录保留,不重发通知,不改核心。
- 实际投递共两封,主题分别包含 `[HNMAIL-1101-A]` / `[HNMAIL-1101-B]`。验证码是显式标注的样例,不创建真实认证状态、用户或套餐变更。
- 每封测试在发送前记录claim、固定message_key,SMTP不确定结果不得盲重发。私有证据目录sitejp02 `/root/codex-backups/hn-mail-design/20261101-v1/`,目录700;包含两类实际HTML、源哈希和各次结果。
六类模板的必需变量、单标题、CID图片、无脚本/iframe/外部追踪与DPL文案的检查通过。本轮浏览器仅访问用户指定Proton第三方收件箱;未访问HN/DPL项目线上页面。实际手机、Outlook/Gmail及所有邮件用途的真实触发未验收,未将桌面Proton结果扩大为全客户端兼容保证。
## 后续启用与回退
当前仅保存设计并发测试,正式邮件仍沿原模板。用户定稿后可用既有HN实例数据库模板覆盖能力,逐名应用这六份HTML,保留变量并清理对应mail_template缓存;HN单独配置本主题Logo路径以沿现有Branding CID机制附图,不改变DPL设置或默认视图。启用前按当时现状备份HN原模板、Logo路径及缓存来源;回退恢复仅HN相关记录/Logo路径、清理相应缓存。需要Git发布时遵循正常提交/推送/明确版本部署,不以复制覆盖代码代替。
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>登录确认 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">登录确认 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">登录确认</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">点击下方按钮登录 HardNerd,链接有效期为 5 分钟。</p><table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#B4F047" style="background-color:#B4F047;border-radius:6px;text-align:center;mso-padding-alt:14px 28px;"><a href="{{link}}" style="display:inline-block;padding:14px 28px;border:1px solid #B4F047;border-radius:6px;background-color:#B4F047;color:#141A12;font-size:15px;line-height:22px;font-weight:700;text-decoration:none;">确认登录</a></td></tr></table><p style="margin:22px 0 0;color:#939CA6;font-size:12px;line-height:21px;">如非本人操作,请忽略此邮件。请勿将登录链接转发给他人。</p><p style="margin:22px 0 0;color:#939CA6;font-size:12px;line-height:21px;">按钮无法打开时,可复制此链接到浏览器:<br><a href="{{link}}" style="color:#B4F047;text-decoration:underline;word-break:break-all;">{{link}}</a></p>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>
+53
View File
@@ -0,0 +1,53 @@
{
"brand": "hn",
"version": 1,
"status": "design_preview",
"active_by_default": false,
"templates": [
{
"name": "verify",
"subject": "HardNerd · 邮箱验证码",
"file": "verify.html",
"required_vars": [
"code"
]
},
{
"name": "notify",
"subject": "HardNerd · 站点通知",
"file": "notify.html",
"required_vars": [
"content"
]
},
{
"name": "mailLogin",
"subject": "HardNerd · 登录确认",
"file": "mailLogin.html",
"required_vars": [
"link"
]
},
{
"name": "remindExpire",
"subject": "HardNerd · 订阅即将到期",
"file": "remindExpire.html",
"required_vars": []
},
{
"name": "serviceExpired",
"subject": "HardNerd · 套餐已到期",
"file": "serviceExpired.html",
"required_vars": []
},
{
"name": "remindTraffic",
"subject": "HardNerd · 流量使用提醒",
"file": "remindTraffic.html",
"required_vars": []
}
],
"logo": "logo.png",
"logo_content_id": "site-logo@dpl",
"compatibility_note": "Existing mail transport CID retained; image and visible branding are HN only."
}
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>站点通知 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">站点通知 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">站点通知</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">{{content}}</p><table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#B4F047" style="background-color:#B4F047;border-radius:6px;text-align:center;mso-padding-alt:14px 28px;"><a href="{{url}}" style="display:inline-block;padding:14px 28px;border:1px solid #B4F047;border-radius:6px;background-color:#B4F047;color:#141A12;font-size:15px;line-height:22px;font-weight:700;text-decoration:none;">前往查看</a></td></tr></table>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>订阅即将到期 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">订阅即将到期 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">订阅即将到期</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">您的订阅服务将在 <strong style="color:#F1F4F0;">24 小时内到期</strong>。</p><p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">为避免服务中断,请及时续费。如已完成续费,请忽略此提醒。</p><table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#B4F047" style="background-color:#B4F047;border-radius:6px;text-align:center;mso-padding-alt:14px 28px;"><a href="{{url}}" style="display:inline-block;padding:14px 28px;border:1px solid #B4F047;border-radius:6px;background-color:#B4F047;color:#141A12;font-size:15px;line-height:22px;font-weight:700;text-decoration:none;">管理订阅</a></td></tr></table>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>流量使用提醒 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">流量使用提醒 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">流量使用提醒</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">您的套餐流量已使用 <strong style="color:#F1F4F0;">80%</strong>。</p><p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">请留意剩余流量,您可以在控制台查看详细使用情况。</p><table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#B4F047" style="background-color:#B4F047;border-radius:6px;text-align:center;mso-padding-alt:14px 28px;"><a href="{{url}}" style="display:inline-block;padding:14px 28px;border:1px solid #B4F047;border-radius:6px;background-color:#B4F047;color:#141A12;font-size:15px;line-height:22px;font-weight:700;text-decoration:none;">查看用量</a></td></tr></table>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>套餐已到期 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">套餐已到期 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">套餐已到期</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">您的套餐已到期。如需继续使用,请前往网站续费。</p><table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#B4F047" style="background-color:#B4F047;border-radius:6px;text-align:center;mso-padding-alt:14px 28px;"><a href="{{url}}" style="display:inline-block;padding:14px 28px;border:1px solid #B4F047;border-radius:6px;background-color:#B4F047;color:#141A12;font-size:15px;line-height:22px;font-weight:700;text-decoration:none;">前往续费</a></td></tr></table>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><meta name="color-scheme" content="dark"><meta name="supported-color-schemes" content="dark"><title>邮箱验证码 · HardNerd</title>
<style>@media only screen and (max-width:480px){.hn-shell{width:100%!important}.hn-pad{padding-left:24px!important;padding-right:24px!important}.hn-outer{padding:20px 12px!important}.hn-title{font-size:24px!important;line-height:34px!important}}a[x-apple-data-detectors]{color:inherit!important;text-decoration:none!important}</style></head>
<body bgcolor="#111518" style="margin:0;padding:0;background-color:#111518;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;color:#EDF1F4;-webkit-text-size-adjust:100%;">
<div style="display:none;font-size:1px;color:#111518;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">邮箱验证码 · HardNerd 账户与服务邮件</div>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#111518" style="background-color:#111518;"><tr><td class="hn-outer" align="center" style="padding:40px 16px;">
<!--[if mso]><table role="presentation" width="600" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
<table class="hn-shell" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width:100%;max-width:600px;table-layout:fixed;">
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:28px 36px;background-color:#1E242A;border:1px solid #353D44;border-bottom:0;border-radius:10px 10px 0 0;">
<table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td width="48" valign="middle" style="width:48px;padding-right:12px;"><img src="cid:site-logo@dpl" width="44" height="44" alt="HardNerd" style="display:block;width:44px;height:44px;border:0;border-radius:10px;"></td><td valign="middle" style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:24px;line-height:30px;letter-spacing:-0.7px;color:#F2F4F1;font-weight:750;">Hard<span style="color:#B4F047;">Nerd</span></td></tr></table>
</td></tr>
<tr><td bgcolor="#1E242A" style="background-color:#1E242A;border-left:1px solid #353D44;border-right:1px solid #353D44;padding:0 36px;"><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td height="1" bgcolor="#39432F" style="height:1px;background-color:#39432F;font-size:0;line-height:0;">&nbsp;</td></tr></table></td></tr>
<tr><td class="hn-pad" bgcolor="#1E242A" style="padding:32px 36px 36px;background-color:#1E242A;border:1px solid #353D44;border-top:0;border-radius:0 0 10px 10px;">
<h1 class="hn-title" style="margin:0 0 20px;font-size:27px;line-height:38px;letter-spacing:-0.4px;font-weight:700;color:#F2F4F1;">邮箱验证码</h1>
<p style="margin:0 0 18px;color:#C5CBD2;font-size:15px;line-height:26px;word-break:break-word;overflow-wrap:anywhere;">请使用以下验证码完成验证。</p><table role="presentation" width="100%" cellpadding="0" cellspacing="0"><tr><td bgcolor="#14191D" style="padding:24px 16px;border:1px solid #39442E;border-radius:6px;text-align:center;"><span style="font-family:'Courier New',Courier,monospace;font-size:34px;line-height:44px;letter-spacing:8px;font-weight:700;color:#B4F047;">{{code}}</span></td></tr></table><p style="margin:22px 0 0;color:#939CA6;font-size:12px;line-height:21px;">验证码有效期为 5 分钟,请勿转发或透露给他人。如非本人操作,请忽略此邮件。</p>
</td></tr>
<tr><td class="hn-pad" align="left" style="padding:22px 36px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',Arial,sans-serif;font-size:12px;line-height:22px;color:#8D979F;">此邮件由 HardNerd 系统发送。<br><a href="{{site_url|https://hardnerd.net}}" style="color:#B4F047;text-decoration:none;">hardnerd.net</a><span style="color:#59636D;">&nbsp;&nbsp;/&nbsp;&nbsp;</span><a href="mailto:[email protected]" style="color:#AAB4BC;text-decoration:none;">[email protected]</a></td></tr>
</table><!--[if mso]></td></tr></table><![endif]-->
</td></tr></table></body></html>