• 大小: 0.03M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 邮件  

资源简介

asp.net webform形式 发邮件

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Web;

namespace WebApplication1
{
    public class Email
    {
        /// 
        /// 发送者
        /// 

        public string mailFrom { get; set; }

        /// 
        /// 收件人
        /// 

        public string[] mailToArray { get; set; }

        /// 
        /// 抄送
        /// 

        public string[] mailCcArray { get; set; }

        /// 
        /// 标题
        /// 

        public string mailSubject { get; set; }

        /// 
        /// 正文
        /// 

        public string mailBody { get; set; }

        /// 

        ///

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-07-12 17:29  SendMailTest\
     目录           0  2013-07-15 15:50  SendMailTest\WebApplication1\
     目录           0  2013-07-12 17:40  SendMailTest\WebApplication1\bin\
     文件        9216  2013-07-15 15:59  SendMailTest\WebApplication1\bin\WebApplication1.dll
     文件       17920  2013-07-15 15:59  SendMailTest\WebApplication1\bin\WebApplication1.pdb
     文件        3918  2013-07-15 15:59  SendMailTest\WebApplication1\Email.cs
     目录           0  2013-07-12 17:29  SendMailTest\WebApplication1\obj\
     目录           0  2013-07-15 15:59  SendMailTest\WebApplication1\obj\Debug\
     文件        8154  2013-07-15 15:50  SendMailTest\WebApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2013-07-12 17:29  SendMailTest\WebApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2013-07-12 17:29  SendMailTest\WebApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2013-07-12 17:29  SendMailTest\WebApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2013-07-12 17:29  SendMailTest\WebApplication1\obj\Debug\TempPE\
     文件         601  2013-07-12 17:40  SendMailTest\WebApplication1\obj\Debug\WebApplication1.csproj.FileListAbsolute.txt
     文件        3318  2013-07-12 17:39  SendMailTest\WebApplication1\obj\Debug\WebApplication1.csprojResolveAssemblyReference.cache
     文件        9216  2013-07-15 15:59  SendMailTest\WebApplication1\obj\Debug\WebApplication1.dll
     文件       17920  2013-07-15 15:59  SendMailTest\WebApplication1\obj\Debug\WebApplication1.pdb
     目录           0  2013-07-12 17:29  SendMailTest\WebApplication1\Properties\
     文件        1332  2013-07-12 17:29  SendMailTest\WebApplication1\Properties\AssemblyInfo.cs
     文件         356  2013-07-12 17:29  SendMailTest\WebApplication1\Web.config
     文件        1245  2013-07-12 17:29  SendMailTest\WebApplication1\Web.Debug.config
     文件        1306  2013-07-12 17:29  SendMailTest\WebApplication1\Web.Release.config
     文件        5191  2013-07-15 15:59  SendMailTest\WebApplication1\WebApplication1.csproj
     文件        1086  2013-07-15 15:59  SendMailTest\WebApplication1\WebApplication1.csproj.user
     文件         494  2013-07-12 17:40  SendMailTest\WebApplication1\WebForm1.aspx
     文件        1434  2013-07-15 18:01  SendMailTest\WebApplication1\WebForm1.aspx.cs
     文件        1149  2013-07-12 17:40  SendMailTest\WebApplication1\WebForm1.aspx.designer.cs
     文件         935  2013-07-12 17:29  SendMailTest\WebApplication1.sln
     文件       27648  2013-07-15 18:24  SendMailTest\WebApplication1.v11.suo

评论

共有 条评论