不知道为什么会这样。页脚文本在Outlook / Windows电子邮件测试中完全消失。所有其他电子邮件客户端都可以正常工作,并且应该显示页脚。 这是带有页脚代码的模板。我想念关闭table
还是?有什么建议么?非常感谢您的光临。
```
`<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" class="darkmode-footer" bgcolor="#122147" style="padding: 50px 15px;">
<table role="presentation" class="w100p" cellpadding="0" cellspacing="0" border="0" style="width: 600px; max-width: 600px;">
<tr>
<td align="center"><a href="" target="_blank"><!--[if !mso]><! -->
<div style="text-align: center;">
<br>
<span style="font-size:10px;"><span style="color:#ffffff;">You are receiving this email because you are a valued friend of the .<br>
Please note that your personal information is kept private and is never shared with other organizations.<br>
<br>
Want to change how you receive these emails?<br>
You can </span></span><a href="%%profile_center_url%%" style="text-decoration: none; color:#ffffff; "><span style="color:#ffffff; font-size:10px; text-decoration: underline;">change your subscription preferences here</span></a><span style="color:#ffffff; font-size:10px;">.<br>
<a href="%%view_email_url%%" style="color: #ffffff; font-size:10px;">View this email in a browser</a>.<br>
<span style="color: #122147;">%%[ if 0 == 1 then ]%% %%Member_Busname%% %%Member_Addr%% %%Member_City%%, %%Member_State%% %%Member_PostalCode%% %%Member_Country%% %%[ endif ]%%</span></span></div> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
如果您将发布的代码放入此处的[[snippet中(就像我所做的那样),然后在编辑器中单击“整理”以正确设置其格式,则您会在第9处注意到不适合的</td>
最后一行,以及最后三行中的这些多余的结束标记:
</td>
</tr>
</table>
片段的浏览器仿真器显然可以解决这些错误,但是我可以想象,尤其是像Outlook这样的邮件应用程序不会那么容忍,并以另一种方式来处理。<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" class="darkmode-footer" bgcolor="#122147" style="padding: 50px 15px;"> <table role="presentation" class="w100p" cellpadding="0" cellspacing="0" border="0" style="width: 600px; max-width: 600px;"> <tr> <td align="center"><a href="" target="_blank"><!--[if !mso]><! --> <div style="text-align: center;"> <br> <span style="font-size:10px;"><span style="color:#ffffff;">You are receiving this email because you are a valued friend of the .<br> Please note that your personal information is kept private and is never shared with other organizations.<br> <br> Want to change how you receive these emails?<br> You can </span></span><a href="%%profile_center_url%%" style="text-decoration: none; color:#ffffff; "><span style="color:#ffffff; font-size:10px; text-decoration: underline;">change your subscription preferences here</span></a><span style="color:#ffffff; font-size:10px;">.<br> <a href="%%view_email_url%%" style="color: #ffffff; font-size:10px;">View this email in a browser</a>.<br> <span style="color: #122147;">%%[ if 0 == 1 then ]%% %%Member_Busname%% %%Member_Addr%% %%Member_City%%, %%Member_State%% %%Member_PostalCode%% %%Member_Country%% %%[ endif ]%%</span></span> </div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table>