【发布时间】:2012-05-24 07:14:43
【问题描述】:
我正在为我的公司创建一些电子邮件签名,但遇到了一个小问题。
我可以很好地使用 Outlook(当我使用 Outlook 发送给用户时,签名看起来很完美),但是当他们回复时,签名文本会变成 .png 文件,而背景图像静止显示。
我不确定 Outlook 为何将其转换为 .png?
有人经历过吗?
图片。
这是签名的外观,在 Outlook 和 Mac 邮件中也是如此。
这就是 Outlook 用户回复我的电子邮件时发生的情况。它保留 sig 并通过将文本转换为 .png 来使文本出现乱码,如下图所示。
这是 Outlook 用户响应时转换为 .png 的签名。
<br />
<br />
<table width="524" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
<tr>
<td style="width: 524px; height: 244px; background-image: url('http://photography.kastnerandpartners.com.au/email/rb_guy.jpg');">
<!--[if gte mso 9]>
<v:image xmlns:v="urn:schemas-microsoft-com:vml" id="theImage" style='behavior: url(#default#VML); display: inline-block; position: absolute; width: 524px; height: 244px; top: 0; left: 0; border: 0; z-index: 1;' src="http://photography.kastnerandpartners.com.au/email/rb_guy.jpg" />
<v:shape xmlns:v="urn:schemas-microsoft-com:vml" id="theText" style='behavior: url(#default#VML); display: inline-block; position: absolute; width: 524px; height: 244px; top: 14; left: 40; border: 0; z-index: 2;'>
<div>
<![endif]-->
<table width="524"; height: "244"; border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;">
<tr>
<td height="244" align="left top" valign="top">
<p style="z-index:2; padding: 14px 0 0 40px; line-height: 18px; font-family: 'Courier New', Courier, monospace; font-weight:800; font-size: 12px; color: #999999;">
<br />
<img src="http://photography.kastnerandpartners.com.au/email/KP-logo.png"><br />
<span style="-webkit-text-size-adjust:none; font-size:12px;"><strong style="color: #333333">Michael Birchall</strong> | Art Director | <a href="http://kastnerandpartners.com.au" title="kastnerandpartners.com.au" style="color: #666666; text-decoration: none; border-bottom: 1px #cccccc dotted;">kastnerandpartners.com.au</a></span><br />
Level 2, 137 Pyrmont St, Pyrmont NSW 2009, Australia<br />
t +61 2 8585 5555 | m +61 413 354 019<br />
e <a href="mailto:michael.birchall@kastnerandpartners.com.au" style="color: #999999;">michael.birchall@kastnerandpartners.com.au</a><br />
</p>
</td>
</tr>
</table>
<!--[if gte mso 9]>
</div>
</v:shape>
<![endif]-->
</td>
</tr>
</table>
【问题讨论】:
-
不确定,但我猜这一定与将内容转换为形状的 v:shape 标签有关
-
@FedericoGiust:我同意。我认为不应该提及 VML。
-
经过多次尝试和错误尝试让背景图像显示在 Outlook 中,我遇到了这个博客,上面说要使用 VML iamskwerl.com/tech/2011/11/… ???
-
有谁知道我会使用VML将文本保留为文本的代码吗?
标签: html email outlook png signature