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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Mail;
using System.IO;
using System.Net;

namespace SendEmail
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        //保存名称
        private string fileName = ““;
        //文件操作
        FileStream fs = null;

        //设置Smtp协议
        SmtpClient smtpClient = null;
        //设置发信人地址 需要密码
        MailAddress AddressFrom = null;
        //设置收信人地址 不需要密码
        MailAddress AddressTo = null;
        //邮件信息
        MailMessage Message = null;

        //设置Smtp服务器信息
        private void 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      18944  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\bin\Debug\SendEmail.exe

     文件      32256  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\bin\Debug\SendEmail.pdb

     文件      11600  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\bin\Debug\SendEmail.vshost.exe

     文件        490  2010-03-17 22:39  发送邮件\SendEmail.Demo\SendEmail\bin\Debug\SendEmail.vshost.exe.manifest

     文件       7566  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\Form1.cs

     文件      21260  2012-09-04 15:30  发送邮件\SendEmail.Demo\SendEmail\Form1.Designer.cs

     文件       5817  2012-09-04 15:30  发送邮件\SendEmail.Demo\SendEmail\Form1.resx

     文件      21633  2012-09-04 09:18  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6603  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        284  2012-09-04 15:30  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        674  2012-09-04 15:30  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\GenerateResource.write.1.tlog

     文件      25458  2012-09-04 13:48  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\ResolveAssemblyReference.cache

     文件       1038  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\SendEmail.csproj.FileListAbsolute.txt

     文件      18944  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\SendEmail.exe

     文件        433  2012-09-04 09:20  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\sendemail.exe.licenses

     文件        180  2012-09-04 15:30  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\SendEmail.Form1.resources

     文件      32256  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\SendEmail.pdb

     文件        180  2012-09-03 19:18  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\SendEmail.Properties.Resources.resources

     文件        490  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Program.cs

     文件       1374  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Properties\AssemblyInfo.cs

     文件        266  2012-09-03 20:15  发送邮件\SendEmail.Demo\SendEmail\Properties\licenses.licx

     文件       2868  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Properties\Resources.Designer.cs

     文件       5612  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Properties\Resources.resx

     文件       1094  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Properties\Settings.Designer.cs

     文件        249  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\Properties\Settings.settings

     文件       4159  2012-09-03 19:08  发送邮件\SendEmail.Demo\SendEmail\SendEmail.csproj

     文件        869  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail.Demo.sln

    ..A..H.     44032  2012-09-04 20:24  发送邮件\SendEmail.Demo\SendEmail.Demo.suo

     目录          0  2012-09-03 18:32  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug\TempPE

     目录          0  2012-09-04 20:03  发送邮件\SendEmail.Demo\SendEmail\obj\x86\Debug

............此处省略11个文件信息

评论

共有 条评论