• 大小: 9.34M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: winform  邮件  源码  ORM  发送  

资源简介

无论是qq邮箱发信,还是网易163邮箱发信,发件箱需要开启smtp 才可以发邮件的

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WinHtmlEditor;

namespace WinFormForSendMail
{
    public partial class FromSendMail : Form
    {
        public FromSendMail()
        {
            InitializeComponent();
        }
        /// 
        /// 初始化
        /// 

        /// 
        /// 
        private void FromSendMail_Load(object sender EventArgs e)
        {
            //初始化邮箱服务器
            Dictionary dicList = new Dictionary();
            dicList.Add(“smtp.qq.com“ 25);
            dicList.Add(“smtp.163.com“ 25);
            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-11-22 16:23  SendMailForWinForm\
     文件        1255  2015-11-22 16:37  SendMailForWinForm\SendMailForWinForm.sln
     文件       30720  2015-11-22 16:53  SendMailForWinForm\SendMailForWinForm.suo
     目录           0  2015-11-22 15:23  SendMailForWinForm\WinFormForSendMail\
     文件       13357  2015-11-22 15:34  SendMailForWinForm\WinFormForSendMail\Form1.Designer.cs
     文件        3434  2015-11-22 16:06  SendMailForWinForm\WinFormForSendMail\Form1.cs
     文件      438418  2015-11-22 15:08  SendMailForWinForm\WinFormForSendMail\Form1.resx
     文件        2606  2015-11-21 23:42  SendMailForWinForm\WinFormForSendMail\MailHelper.cs
     文件         486  2015-11-21 20:54  SendMailForWinForm\WinFormForSendMail\Program.cs
     目录           0  2015-11-21 20:53  SendMailForWinForm\WinFormForSendMail\Properties\
     文件        1368  2015-11-21 20:53  SendMailForWinForm\WinFormForSendMail\Properties\AssemblyInfo.cs
     文件        3299  2015-11-22 15:01  SendMailForWinForm\WinFormForSendMail\Properties\Resources.Designer.cs
     文件        6251  2015-11-22 15:01  SendMailForWinForm\WinFormForSendMail\Properties\Resources.resx
     文件        1118  2015-11-22 14:13  SendMailForWinForm\WinFormForSendMail\Properties\Settings.Designer.cs
     文件         249  2015-11-21 20:53  SendMailForWinForm\WinFormForSendMail\Properties\Settings.settings
     目录           0  2015-11-22 15:01  SendMailForWinForm\WinFormForSendMail\Resources\
     文件       95980  2015-11-22 15:01  SendMailForWinForm\WinFormForSendMail\Resources\2e69e21e816b23e2149317b82e496827.jpg
     文件        2471  2015-11-22 15:14  SendMailForWinForm\WinFormForSendMail\WebBro.Designer.cs
     文件         370  2015-11-22 15:14  SendMailForWinForm\WinFormForSendMail\WebBro.cs
     文件      438015  2015-11-22 15:14  SendMailForWinForm\WinFormForSendMail\WebBro.resx
     文件        4592  2015-11-22 16:11  SendMailForWinForm\WinFormForSendMail\WinFormForSendMail.csproj
     文件         227  2015-11-22 15:23  SendMailForWinForm\WinFormForSendMail\WinFormForSendMail.csproj.user
     文件         293  2015-11-22 15:22  SendMailForWinForm\WinFormForSendMail\app.config
     目录           0  2015-11-22 15:16  SendMailForWinForm\WinFormForSendMail\bin\
     目录           0  2015-11-22 16:20  SendMailForWinForm\WinFormForSendMail\bin\Debug\
     文件      287934  2015-11-22 16:11  SendMailForWinForm\WinFormForSendMail\bin\Debug\003.ico
     文件      516096  2012-11-23 17:08  SendMailForWinForm\WinFormForSendMail\bin\Debug\IrisSkin2.dll
     文件     8013664  2014-12-05 12:05  SendMailForWinForm\WinFormForSendMail\bin\Debug\Microsoft.mshtml.dll
     文件       77824  2014-12-05 12:05  SendMailForWinForm\WinFormForSendMail\bin\Debug\NetSpell.SpellChecker.dll
     目录           0  2015-11-22 00:11  SendMailForWinForm\WinFormForSendMail\bin\Debug\Skins\
     文件       20139  2006-11-02 23:00  SendMailForWinForm\WinFormForSendMail\bin\Debug\Skins\Calmness.ssk
............此处省略101个文件信息

评论

共有 条评论