Reference for SendMail in ASP.NET
来源:互联网 发布:怎么移民 知乎 编辑:程序博客网 时间:2024/06/18 12:24
using System.Net;
using System.Net.Mail;
using (MailMessage message = new MailMessage())
message.To.Add(new MailAddress("supremezone@126.com")); //收件人邮箱
message.Subject = "通过配置文件设置发送邮件";//邮件主题
message.Body = "这里是邮件正文了"; //邮件正文
SmtpClient mailClient = new SmtpClient();
mailClient.Send(message);
}
- Reference for SendMail in ASP.NET
- ASP.NET 2.0 All-In-One Desk Reference For Dummies
- sendmail.asp
- w3wp remote DoS due to improper reference of STA COM components in ASP.NET
- Deploying RDLC files in local mode for ASP.NET applications
- New <%: %> Syntax for HTML Encoding Output in ASP.NET 4 (and ASP.NET MVC 2)
- [我的ASP.net学习历程]Reference
- Programming Microsoft ASP.NET 2.0 Core Reference
- [GOOD Article] How to disable web.config Inheritance for Child Applications in Subfolders in ASP.NET?
- Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
- Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download !
- sendmail for linux as5
- Caching in ASP.NET
- WF in Asp.Net
- WF in Asp.Net
- XML in ASP.NET
- URLRewriting for ASP.NET
- jquery for ASP.Net
- undefined reference to `vtable for”
- Connect to a Windows Desktop from Ubuntu via Remote Desktop Connection
- [范例、标准]oracle执行标准(1)外键----已复制
- Objective-C入门
- javascript事件触发器
- Reference for SendMail in ASP.NET
- oracle中sequence的简单介绍
- spring_Quartz 定时器配置
- Java连接数据库
- JS 设计模式----工厂模式
- SQL Server 2008R2新加用户并设置服务器角色
- wpf MarginProperty Animation
- 高清与非高清
- Android 反编译资料整理