免安装Mail插件发送邮件类MailHelper

时间:2014-04-17 05:26:08
【文件属性】:

文件名称:免安装Mail插件发送邮件类MailHelper

文件大小:2KB

文件格式:RAR

更新时间:2014-04-17 05:26:08

MailHelper,Common

Common.MailDetail md = new Common.MailDetail(); md.IsBodyHtml = true; md.MailEncoding = Encoding.UTF8; md.MailServer = smtp; md.PassWord = MailServerPassWord; md.MessageContent = Body; md.Sign = "技术部"; md.Title = "邮件提醒-"; md.Recipients.Add(email); md.UserName = MailServerUserName; if (Common.MailHelper.SendMail(md)) { } #endregion


【文件预览】:
MailHelper.cs
Readme.txt

网友评论

  • 功能还算可以,有参考价值