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

热门教程

邮件发送测试。Codebehind

时间:2022-07-02 11:33:44 编辑:袖梨 来源:一聚教程网

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;

热门栏目