##公司邮件签名自定义没做过,然后百度,各种说法,直接html div+css做了,结果不能用,因为邮箱服务器识别不了,然后只能用坑爹的table来布局。因为不熟悉table的布局方式,跳了比较多坑
<head> <style type="text/css"> *{ padding: 0 ; margin: 0 ; } </style></head><table cellspacing="0" cellpadding="0" border="0" width="650px;" > <!--图片--> <tr> <th colspan="5" width="650px;"><img src="img/tupian.gif"></th> </tr></table><table cellspacing="0" cellpadding="0" border="0" width="650px;" > <tr> <th colspan="3" height="1px;" bgcolor="#d3d3d3" style="line-height: 1px;"></th> </tr> <tr> <td width="1px;" bgcolor="#d3d3d3"></td> <td width="40%" align="left" > <font face="SimSun" style="font-size: 9pt;font-weight: 600;" color="black">%%DisplayName%%</font><br> <font face="SimSun" style="font-size: 9pt" >%%department%%</font><br> <font face="SimSun" style="font-size: 9pt">Tel: %%Phone%%</font><br> <font face="SimSun" style="font-size: 9pt" >Mobile: +86%%MobileNumber%%</font><br> <font face="SimSun" style="font-size: 9pt">Fax: %%PagerNumber%%-%%Fax%%</font><br> <font face="SimSun" style="font-size: 9pt">Email: %%Email%%</font> </td> <td width="60%" align="left"> <font face="SimSun" style="font-size: 9pt;font-weight: 600;" >xx科技股份有限公司</font><br> <font face="SimSun" style="font-size: 9pt">%%StreetAddress%%</font><br> <font face="SimSun" style="font-size: 9pt">http://www.xxx.com.cn</font><br> <font face="SimSun" style="font-size: 9pt">http://www.sxxxccloud.com/</font><br> <font face="SimSun" style="font-size: 9pt">Service Hotline:400-xx-3810</font> </td> <td width="1px;" bgcolor="#d3d3d3" style="line-height: 1px;"></td> </tr> <tr> <td colspan="3" height="1px;" bgcolor="#d3d3d3"></td> </tr></table><table cellspacing="0" cellpadding="0" border="0" width="650px;" > <!--声明部分--> <tr> <td width="650px;" align="left"><font face="SimSun" style="font-size: 6.5pt" color="black"> 免责声明:<br/> 邮件及其附件含有xx科技有限公司的保密信息,仅 限于本邮件收件人地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了 本邮件,请您立即电话或邮件通知发件人并删除本邮件。<br/> This e-mail may contain confidential and/or privileged information from xxxand is intended solely for the attention and use of the person(s) named above. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. </font> </td> </tr></table></html>