Twikoo评论内容及邮件通知模板
QQ邮箱配置配置
通知代码及效果
新评论通知
<div style="padding: 0 15px; padding-bottom: 20px;">
<div style="padding: 20px 15px; border-radius: 3px;">
<div>
<span style="font-size: 16px; font-weight: bold;">
${PARENT_NICK} 伙伴您好,您在 ${SITE_NAME} 收到了一条评论通知
</span>
</div>
<div style="margin-top: 30px;">
<div>
<span style="font-size: 15px; font-weight: bold; position: relative; top: -4px;">
评论内容:
</span>
</div>
<table style="width: 100%; border-spacing: 0px; border-collapse: collapse; border: none; margin-top: 20px;">
<tbody>
<tr style="height: 45px;">
<td style="width: 150px; height: 40px; background: #F6F6F6; border: 1px solid #DBDBDB; font-size: 14px; font-weight: normal; text-align: left; padding-left: 14px;">
${PARENT_NICK}
</td>
<td style="width: 250px; height: 40px; border: 1px solid #DBDBDB; font-size: 14px; font-weight: normal; text-align: left; padding-left: 14px;">
${PARENT_COMMENT}
</td>
</tr>
<tr style="height: 45px;">
<td style="width: 150px; height: 40px; background: #F6F6F6; border: 1px solid #DBDBDB; font-size: 14px; font-weight: normal; text-align: left; padding-left: 14px;">
${NICK}
</td>
<td style="width: 250px; height: 40px; border: 1px solid #DBDBDB; font-size: 14px; font-weight: normal; text-align: left; padding-left: 14px;">
${COMMENT}
</td>
</tr>
</tbody>
</table>
</div>
<p>您可以点击链接回复:${POST_URL}</p>
<div style="margin-top: 40px; margin-bottom: 10px;">
<span style="font-size: 13px; font-weight: bold; color: #666;">温馨提醒:</span>
<div style="line-height: 24px; margin-top: 10px;">
<div style="font-size: 13px; color: #666;">如果您在使用过程中如有任何问题,请联系admin@brain-hole.org</div>
<div style="font-size: 13px; color: #666;">感谢您访${SITE_NAME},祝您生活愉快。</div>
<div style="font-size: 13px; color: #666;">
<a href="${SITE_URL}">${SITE_URL}</a>
</div>
</div>
</div>
</div>
</div>
<div style="width: auto; margin: 0 auto; margin-top: 20px; font-size: 12px; -webkit-font-smoothing: subpixel-antialiased; text-size-adjust: 100%;">
<p style="text-align: center; line-height: 20.4px; text-size-adjust: 100%; font-family: 'Microsoft YaHei'!important; padding: 0px !important; margin: 0px !important; color: #7e8890 !important;">
<span class="appleLinks">Powered by © 2023-Present Brain hole Theme Paper</span>
</p>
<p style="text-align: center; line-height: 20.4px; text-size-adjust: 100%; font-family: 'Microsoft YaHei'!important; padding: 0px !important; margin: 0px; color: #7e8890 !important; margin-top: 10px;">
<span class="appleLinks">邮件由系统自动发送,请勿直接回复本邮件!此账户无人值守,感谢配合。</span>
</p>
</div>
评论回复通知
<div style="max-width: 600px; margin: 0 auto; background-color: #fff; border: 1px solid #ccc; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 20px;">
<p style="font-size: 16px; color: #666; line-height: 1.5;">亲爱的博主 ${SITE_NAME},</p>
<p style="font-size: 16px; color: #666; line-height: 1.5;">您的博客 ${SITE_NAME} 收到了一条新的评论:</p>
<div style="border: 1px solid #ccc; padding: 10px; background-color: #f5f5f5;">
<p>评论内容:<br>${COMMENT}</p>
<p>评论者昵称:${NICK}</p>
<p>评论者邮箱:${MAIL}</p>
<p>评论者IP地址:${IP}</p>
</div>
<p style="font-size: 16px; color: #666; line-height: 1.5;">您可以点击以下链接查看该评论:<br><a href="${POST_URL}" style="color: #0078d4; text-decoration: none;" target="_blank">${POST_URL}</a></p>
<p style="font-size: 16px; color: #666; line-height: 1.5;">请及时审核并回复评论。感谢您对 ${SITE_NAME} 的关注!</p>
<p style="font-size: 16px; color: #666; line-height: 1.5;">此致,<br>${SITE_NAME} <br><a href="${SITE_URL}" style="color: #0078d4; text-decoration: none;" target="_blank">${SITE_URL}</a></p>
</div>