日期:2014-05-17  浏览次数:20436 次

发邮件带样式
我想请问大家一个问题,发邮件,我要把网页的一部分内容发过去,外部css要怎么弄?

------解决方案--------------------
直接把你的邮件正文设置成HTML格式
设置这个IsBodyHtml 为true
------解决方案--------------------
写内联样式
<div style="color:red;font-size:18px;"></div>
------解决方案--------------------
http://www.heycoder.com/note/csharp-asp.net-sendmail.aspx
设置IsBodyHtml =true
邮件正文使用HTML格式