一聚教程网:一个值得你收藏的教程网站

最新下载

邮件发送测试。Codebehind

时间:2008-01-12 00:00:00 编辑:简简单单 来源:转载

using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Blood.Com.ClassLib;
namespace Test
{
    ///
    /// 邮件发送例子
    ///

    public class SendMailSample : System.Web.UI.Page
    {
        protected System.Web.UI.WebControls.DataGrid DataGrid1;
        protected System.Web.UI.WebControls.DropDownList ddlPriority;
        protected System.Web.UI.WebControls.DropDownList ddlHtml;
        protected System.Web.UI.WebControls.TextBox txtSmtpHost;
        protected System.Web.UI.WebControls.TextBox txtPort;
        protected System.Web.UI.WebControls.TextBox txtFrom;
        protected System.Web.UI.WebControls.TextBox txtFromName;
        protected System.Web.UI.WebControls.TextBox txtTo;
        protected System.Web.UI.WebControls.TextBox txtToName;
        protected System.Web.UI.WebControls.TextBox txtSubject;
        protected System.Web.UI.WebControls.TextBox txtMessage;

网站留言

热门栏目