模版参考

templateGuest.html

<div style="width: 550px; height: auto; border-radius: 5px; margin: 0 auto; border: 1px solid #ffb0b0; box-shadow: 0px 0px 20px #888888; position: relative;">        
<div style="background-image: url(https://www.529i.com/handsome/71785a53ly1fxiizxsw1jj20fa08c44d.jpg);width:550px;height: 250px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px;"></div>
<p style="width: 200px;height: 40px;background-color: rgb(255, 114, 114);margin-top: 24px;margin-left: 20px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);color: rgb(255, 255, 255);text-align: center;line-height: 40px;">Dear:{{comment_parent_author_name}}</p>

<div style="background-color:white;line-height:180%;padding:0 15px 12px;width:520px;margin:30px auto;color:#555555;font-family:'Century Gothic','Trebuchet MS','Hiragino Sans GB',微软雅黑,'Microsoft Yahei',Tahoma,Helvetica,Arial,'SimSun',sans-serif;font-size:12px;margin-bottom: 0px;">
<h2 style="border-bottom:1px solid #DDD;font-size:14px;font-weight:normal;padding:13px 0 10px 8px;"><span style="color: #12ADDB;font-weight: bold;">&gt; </span>您在文章<a style="text-decoration:none;color: #12ADDB;" href="{permalink}" target="_blank">《{{post_title}}》</a>上发表的评论:</h2>
<p style="padding: 12px; background: #efefef; border-radius: 4px;">{{comment_parent_content}}</p>
<p>收到了来自 <b>{{comment_author_name}}</b> 的回复:</p>
<p style="padding: 12px;
background: #efefef;
border-radius: 4px;">{{comment_content}}</p>
</div>
<div style="color:#8c8c8c;;font-family: 'Century Gothic','Trebuchet MS','Hiragino Sans GB',微软雅黑,'Microsoft Yahei',Tahoma,Helvetica,Arial,'SimSun',sans-serif;font-size: 10px;width: 100%;text-align: center;margin-top: 30px;">
<p style="margin:18px 0"><a style="text-decoration: none;color: rgb(255, 255, 255);width: 40%;text-align: center;background-color: rgb(255, 114, 114);height: 40px;line-height: 40px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);display: block;margin: auto;" href="{{comment_permalink}}" target="_blank" rel="noopener">查看回复的完整內容</a></p> 
<p>本邮件为系统自动发送,请勿直接回复~</p>
<p style="text-align: center;">欢迎再次光临<a style="text-decoration:none; color:#12addb" href="{{site_url}}" target="_blank">{{site_name}}</a></p>
<p ©<span style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1; position: static;" t="7" onclick="return false;" data="2017-2019">2014-2099</span> Copyright <a style="text-decoration:none; color:#12addb" href="{{site_url}}">{{site_name}}</a>。</p>
</div>
</div>

templateHost.html

<div style="width: 550px; height: auto; border-radius: 5px; margin: 0 auto; border: 1px solid #ffb0b0; box-shadow: 0px 0px 20px #888888; position: relative;">        
<div style="background-image: url(https://www.529i.com/handsome/71785a53ly1fxiizxsw1jj20fa08c44d.jpg);width:550px;height: 250px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px;"></div>
<div style="background-color:white;line-height:180%;padding:0 15px 12px;width:520px;margin:30px auto;color:#555555;font-family:'Century Gothic','Trebuchet MS','Hiragino Sans GB',微软雅黑,'Microsoft Yahei',Tahoma,Helvetica,Arial,'SimSun',sans-serif;font-size:12px;margin-bottom: 0px;"> 
<p style="font-weight: bold">来自 <a target="_blank" style="text-decoration: none;" href="{{post_permalink}}">《{{post_title}}》</a> 的新评论</p>
<p style="padding: 12px; background: #efefef; border-radius: 4px;">{{comment_content}}</p>
<p>来自:<a style="text-decoration: none;" href="mailto:{{comment_author_mail}}">{{comment_author_name}}</a></p>
<p>IP:<a href="https://www.ip.cn/index.php?ip={ip}">{{ip}}</a></p>
<p>邮箱:{{comment_author_mail}}</p>
<p>状态:{{status}}</p>
</div>
<div style="color:#8c8c8c;;font-family: 'Century Gothic','Trebuchet MS','Hiragino Sans GB',微软雅黑,'Microsoft Yahei',Tahoma,Helvetica,Arial,'SimSun',sans-serif;font-size: 10px;width: 100%;text-align: center;margin-top: 30px;">
<p><a target="_blank" style="text-decoration: none;color: rgb(255, 255, 255);width: 40%;text-align: center;background-color: rgb(255, 114, 114);height: 40px;line-height: 40px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);display: block;margin: auto;" href="{{comment_permalink}}">查看评论</a> 
<p style="margin:18px 0"><a style="text-decoration: none;color: rgb(255, 255, 255);width: 40%;text-align: center;background-color: rgb(255, 114, 114);height: 40px;line-height: 40px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);display: block;margin: auto;" href='{{manage_url}}' target='_blank'>管理评论</a></p>
<p>本邮件为系统自动发送,请勿直接回复~</p>
<p style="text-align: center;">欢迎再次光临<a style="text-decoration:none; color:#12addb" href="{{site_url}}" target="_blank">{{site_name}}</a></p>
<p ©<span style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1; position: static;" t="7" onclick="return false;" data="2017-2019">2014-2099</span> Copyright <a style="text-decoration:none; color:#12addb" href="{{site_url}}">{{site_name}}</a>。</p>
</div>
</div>
如果觉得我的文章对你有用,请随意赞赏