91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 206KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-11
  • 語言: C#
  • 標簽: SMTP??c#??

資源簡介

在vs2005下c#實現郵件客戶端 SMTP發信 POP3收信 通過access數據庫 管理多個郵箱聯系人 c#實現

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Text.Regularexpressions;
using?System.Net;
using?System.Net.Sockets;
using?System.Net.Mail;
using?System.IO;
using?System.Windows.Forms;
using?System.Data.OleDb;

using?System.Security.Cryptography;
using?System.IO;
using?System.Diagnostics;?








namespace?SMTPPOP
{
????public?partial?class?Form1?:?Form
????{
????????private?TcpClient?tcpClient;
????????private?NetworkStream?networkStream;
????????private?StreamReader?sr;
????????private?StreamWriter?sw;
????????

????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????#region?郵件發送端
????????

????????private?void?tabPage_SMTP_Click(object?sender?EventArgs?e)
????????{

????????}
??????????????

????????private?void?textBox_smtp_yhm_TextChanged(object?sender?EventArgs?e)
????????{
????????????label_smtp_yhm.Visible?=?!Regex.IsMatch(textBox_smtp_yhm.Text?@“\w+([-+.‘]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$“);
????????????
????????}

????????private?void?textBox_smtp_sjr_TextChanged(object?sender?EventArgs?e)
????????{
????????????label_smtp_sjr.Visible?=?!Regex.IsMatch(textBox_smtp_sjr.Text?@“\w+([-+.‘]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$“);
????????}

????????private?void?textBox_smtp_mm_TextChanged(object?sender?EventArgs?e)
????????{
????????????label_smtp_mm.Visible?=?!Regex.IsMatch(textBox_smtp_mm.Text@“^\w{520}$“);
????????}

????????private?void?textBox_smtp_zt_TextChanged(object?sender?EventArgs?e)
????????{
????????????label_smtp_zt.Visible?=?!Regex.IsMatch(textBox_smtp_zt.Text@“^.{1}$“);

????????}

????????private?void?textBox_smtp_nr_TextChanged(object?sender?EventArgs?e)
????????{
????????????label_smtp_nr.Visible?=?!Regex.IsMatch(textBox_smtp_nr.Text?@“^.{1}$“);
????????}

????????private?void?button_smtp_tjfj_Click(object?sender?EventArgs?e)
????????{
????????????OpenFileDialog?myodig?=?new?OpenFileDialog();
????????????myodig.CheckFileExists?=?true;
????????????myodig.CheckPathExists?=?true;
????????????myodig.Multiselect?=?true;
????????????myodig.ShowDialog();
????????????if?(myodig.FileNames.Length?>?0)
????????????{
????????????????listBox_smtp_fj.Items.AddRange(myodig.FileNames);
????????????
????????????}


????????}

????????private?void?button_smtp_fs_Click(object?sender?EventArgs?e)
????????{
????????????String?invalidString?=?““;
????????????if?(label_smtp_yhm.Visible?==?true)?invalidString?+=?“用戶名、“;
????????????if?(label_smtp_mm.Visible?==?true)?invalidString?+=?“密碼、“;
????????????if?(label_smtp_sjr.Visible?==?true)?invalidString?+=?“收件人、“;
????????????if?(label_smtp_zt.Visible?==?true)?invalidString?+=?“主題、“;
????????????if?(label_smtp_nr.Visible?==?true)?invalidString?+=?“郵件內容、“;
????????????if?(invalidString.Length?>?0)
????????????{
????????????????MessageBox.Show(invalidString

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-11-05?23:13??SMTPPOPZZ\
?????目錄???????????0??2010-10-31?22:02??SMTPPOPZZ\SMTPPOP\
?????目錄???????????0??2010-10-30?07:55??SMTPPOPZZ\SMTPPOP\SMTPPOP\
?????目錄???????????0??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\
?????文件?????????910??2010-10-30?07:55??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP.sln
?????文件???????19968??2010-11-05?23:16??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP.suo
?????文件?????????395??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\app.config
?????目錄???????????0??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\
?????目錄???????????0??2010-11-05?23:16??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\
?????文件??????364544??2010-10-31?22:05??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\friend.mdb
?????文件???????81920??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\SMTPPOP.exe
?????文件?????????395??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\SMTPPOP.exe.config
?????文件??????112128??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\SMTPPOP.pdb
?????文件????????5632??2005-11-11?22:25??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\SMTPPOP.vshost.exe
?????文件?????????395??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\bin\Debug\SMTPPOP.vshost.exe.config
?????文件???????22339??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\Form1.cs
?????文件???????57335??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\Form1.Designer.cs
?????文件????????6858??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\Form1.resx
?????文件??????364544??2010-10-31?22:05??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\friend.mdb
?????文件???????78762??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\friendDataSet.Designer.cs
?????文件???????????3??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\friendDataSet.xsc
?????文件???????17846??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\friendDataSet.xsd
?????文件???????????3??2010-10-31?22:06??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\friendDataSet.xss
?????目錄???????????0??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\
?????目錄???????????0??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\
?????目錄???????????0??2010-10-30?08:11??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\Refactor\
?????文件?????????898??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\SMTPPOP.csproj.GenerateResource.Cache
?????文件???????81920??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\SMTPPOP.exe
?????文件?????????180??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\SMTPPOP.Form1.resources
?????文件??????112128??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\SMTPPOP.pdb
?????文件????????5633??2010-11-05?23:15??SMTPPOPZZ\SMTPPOP\SMTPPOP\SMTPPOP\obj\Debug\SMTPPOP.Properties.Resources.resources
............此處省略15個文件信息

評論

共有 條評論