柔城

SOSOFT articles

2017年2月1日

通过C#发送自定义的html格式邮件

摘要: 要发送HTML格式邮件,需要设置MailMessage对象的IsBodyHtml属性,设置为true。类MailMessage在命名空间System.Net.Mail下。using System.Net.Mail;发送HTML格式的邮件在HoverTreeTop项目中已经实现,并发送成功。需依赖于H 阅读全文

posted @ 2017-02-01 23:30 柔城 阅读(8101) 评论(0) 推荐(3) 编辑

导航