摘要: string file = Server.MapPath("email_test.txt"); System.Web.Mail.MailMessage mes = new System.Web.Mail.MailMessage(); mes.To = "发送邮箱"; mes.From = "接收邮箱"; MailAttachment mailAttachment = new MailAttachment(file); mes.Attachments.Add(mailAttachment); mes.Fields.Add("h 阅读全文
posted @ 2011-05-04 21:56 solomon_Blog 阅读(229) 评论(0) 推荐(0) 编辑