2011-08-08 65 views
0

此去收件箱:什麼是格式化HTML發送到Hotmail的正確方法?

<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
<tr> 
<td> 
<table align="center" border="0" cellpadding="0" cellspacing="0" width="550"> 
<tr> 
<td bgcolor="#052444"> 
<table align="center" border="0" cellpadding="0" cellspacing="0" width="510"> 
<tr> 
<td> 
<font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Visite meu blog, comente e divulgue as mat&eacute;rias publicadas:</a></b></font> 
<a href="xxxxxxxxxxx" target="_blank"><img src="xxxxxxx" alt="Blogger" title="Blogger" style="display:inline; color:#F29600;" border="0" height="33" width="32" /></a> 
<br /> 
<font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Siga meu perfil no twitter:</a></b></font> 
<a href="xxxxxxxx" target="_blank"><img src="xxxxxx" alt="Twitter" title="Twitter" style="display:inline; color:#F29600;" border="0" height="33" width="31" /></a> 
<br /> 
<font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Participe do meu Facebook:</a></b></font> 
<a href="xxxxx" target="_blank"><img src="xxxxxx" alt="Facebook" title="Facebook" style="display:inline; color:#F29600;" border="0" height="33" width="32" /></a> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 

但經常去的垃圾郵件箱:

<table id="body_holder" border="0" cellpadding="0" cellspacing="0" width="100%"> 
<tr> 
<td> 
<table align="center" border="0" cellpadding="0" cellspacing="0" width="550"> 
<tr> 
<td height="160"><img src="xxxxxxxxxxxxxxxxxx" alt="xxxxxx" title="xxxxxxx" style="display:block;" border="0" height="160" width="550" /></td> 
</tr> 
<tr> 
<td bgcolor="#052444"> 
<table align="center" border="0" cellpadding="0" cellspacing="0" width="510"> 
<tr> 
<td height="30" valign="bottom"><font color="#FFFFFF"><b>Vamos juntos compartilhar id&eacute;ias e informa&ccedil;&otilde;es nas redes sociais!</b></font></td> 
</tr> 
<tr> 
<td><br /> <font color="#FFFFFF" face="Arial" size="2"> Marcos, <br /><br /> As redes sociais t&ecirc;m um potencial incr&iacute;vel para compartilhar id&eacute;ias e mobilizar pessoas em prol de uma causa. <br /><br /> Por isso, gostaria de convidar voc&ecirc; a interagir comigo nestes importantes canais de relacionamento. <br /><br /> 
<table cellpadding="0" cellspacing="0" height="33"> 
<tr> 
<td valign="middle"><font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxxxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Visite meu blog, comente e divulgue as mat&eacute;rias publicadas:</a></b></font></td> 
<td width="10"></td> 
<td valign="middle"><a href="xxxxxxxxxxxxxxx" target="_blank"><img src="xxxxxxxxx" alt="Blogger" title="Blogger" style="display:inline; color:#F29600;" border="0" height="33" width="32" /></a></td> 
</tr> 
</table> 
<br /> 
<table cellpadding="0" cellspacing="0" height="33"> 
<tr> 
<td valign="middle"><font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Siga meu perfil no twitter:</a></b></font></td> 
<td width="10"></td> 
<td valign="middle"><a href="xxxxxxxxxxxxxxx" target="_blank"><img src="xxxxxxxxxxxxxx" alt="Twitter" title="Twitter" style="display:inline; color:#F29600;" border="0" height="33" width="31" /></a></td> 
</tr> 
</table> 
<br /> 
<table cellpadding="0" cellspacing="0" height="33"> 
<tr> 
<td valign="middle"><font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxxxxxxxxxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Participe do meu Facebook:</a></b></font></td> 
<td width="10"></td> 
<td valign="middle"><a href="xxxxxxxxxxxxxx" target="_blank"><img src="xxxxxxxxx" alt="Facebook" title="Facebook" style="display:inline; color:#F29600;" border="0" height="33" width="32" /></a></td> 
</tr> 
</table> 
<br /> 
<table cellpadding="0" cellspacing="0" height="33"> 
<tr> 
<td valign="middle"><font color="#FFFFFF" face="Arial" size="2"><b><a href="xxxxxxx" target="_blank" style="color:#FFFFFF; text-decoration:none;">Seja meu amigo no Orkut:</a></b></font></td> 
<td width="10"></td> 
<td valign="middle"><a href="xxxxxxxxxx" target="_blank"><img src="xxxxxxx" alt="Orkut" title="Orkut" style="display:inline; color:#F29600;" border="0" height="33" width="32" /></a></td> 
</tr> 
</table> 
</font></td> 
</tr> 
<tr> 
<td align="center" height="80" valign="middle"><font color="#FFFFFF">Se voc&ecirc; n&atilde;o quiser mais receber os emails do Jom&aacute;zio, <a href="xxxxxxxx" accesskey="clique" style="color:#F29600;">clique aqui</a>.</font></td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table 

>

我RLY不明白。

+1

'我真的不明白它。'是的,同樣的。你給出的兩個例子有什麼區別?此外,如果它是垃圾內容,它將轉到垃圾郵件文件夾... – Bojangles

+0

確定你不是想掩飾發件人?即使電子郵件看起來像來自「[email protected]」,但它確實來自[email protected]「? –

+0

不,我設置$ php_mailer->發件人='[email protected]';和$ php_mailer-> from ='[email protected]'; idk爲什麼這第二個去垃圾郵件,第一個去收件箱,我想如果有人陳述它 – jowmz24

回答

2

,您的郵件將垃圾郵件被視爲可能有以下幾種原因:

  1. 您的消息是不正確的HTML。你的html,head,body標籤在哪裏?
  2. 檢查收到的電子郵件的郵件標題。有可能是關於爲什麼它的垃圾郵件的信息
+0

身份驗證結果:hotmail.com;發件人ID = temperror ...這可能是錯誤? – jowmz24

+0

@jow:提供完整的郵件標題。 – scube

相關問題