HTML电子邮件模板在html标记中有额外的空白空间

问题描述:

我正在通过拖放功能生成电子邮件模板。 我是新的,我跟着这个教程linkHTML电子邮件模板在html标记中有额外的空白空间

但是,当我发送电子邮件,有时我得到额外的空间在一个HTML标记。而且我还在URL链接或图像src中获得了额外的“+”号。

我的HTML:

<div style="inline-styles-here"> 
    <img src="abc.com/open_link.php" class="CToWUd"> 
</div> 

结果:

<div><!-- inline styles is missing --> 
    <img src="abc.com/open_li+nk.php" class="CToWUd"><!-- There is + at the src link --> 
< /div> <!-- There is space in the closing tag --> 

有时,我也有我的内联样式一个失踪了。

我该如何避免这种情况?

你给的文件名作为<img src="abc.com/open_li+nk.php" class="CToWUd">

俊男它是<img src="abc.com/open_link.php" class="CToWUd">

除去额外的空间,

<table width="600px" cellspacing="0" cellpadding="0" border="0" align="center" class="bg-color1" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"> 
<tbody> 
    <tr><td>Your email content</td></tr> 
</tbody> 
</table> 

你可以参考this link

希望这会有所帮助。

+0

我编辑了我的文章 – AAADev