-
C# pop3 邮件接收程序
private void Connect_Click(object sender, System.EventArgs e) { //将光标置为等待状态 Cursor cr = Cursor.Current; Cursor.Current = Cursors.WaitCursor; String a ,b,c; //用110端口新建POP3服务器连接 Server = new TcpClient(PopServer.Text, 110); Status.Items.Clear(); try { //初始化 NetStrm = Server.GetStream(); RdStrm = new StreamReader(Server.GetStream()); Status.Items.Add(RdStrm.ReadLine()); //登录服务器过程 Data = "USER " Username.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); Data = "PASS " Password.Text CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); Status.Items.Add(RdStrm.ReadLine()); //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小 Data = "STAT" CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData, 0, szData.Length); //Status.Items.Add(RdStrm.ReadLine()); //改变按钮的状态 Connect.Enabled = false; Disconnect.Enabled = true; Retrieve.Enabled = true; //将光标置回原来状态 Cursor.Current = cr; } catch (InvalidOperationException err) { Status.Items.Add("Error: " err.ToString()); } }
- 2014-11-02下载
- 积分:1
-
mymailcode
本程序主要进行了发邮件的编写 已经调试通过了 可以进行发邮件的处理(the main procedures for the preparation of the mail has been testing can be conducted through the mail processing)
- 2007-03-22 10:17:52下载
- 积分:1
-
the__rhe__file
说明: UNLZEXE converts the compressed file by lzexe to the UNcompressed
- 2018-12-26 15:36:10下载
- 积分:1
-
CalRemainder
可以根据输入的生成多项式计算CRC16的余式表,并输出到TXT文件中打开。附赠CRC16的查表程序和直接计算程序,供验证用。使用这段程序,可以完美解决CRC16的编程问题,CRC32以及CRC8也可以参考使用。(CRC16 remainder table according to the generator polynomial of the input and output to a TXT file to open. Comes with a CRC16 table look-up procedure and a direct calculation program, for verification purposes. This program can be the perfect solution the CRC16 programming problem, the CRC32 and CRC8 also be of use.)
- 2012-02-18 12:56:17下载
- 积分:1
-
LoginQQ
VC++自动登陆QQ的代码,VS2010的编译环境(The automatic landing VC++ QQ code, VS2010 the compiler environment)
- 2013-04-26 17:14:24下载
- 积分:1
-
MFC框架下聊天室客户机与服务器程序(完整源码,亲测通过)
MFC框架下聊天室客户机与服务器程序(完整源码,亲测通过)
- 2019-11-24下载
- 积分:1
-
tinyhttpd-0.1.0
这是一个极其简单的服务器源码。。。。仅供学习参考(This software is copyright 1999 by J. David Blackstone.)
- 2020-06-20 03:40:01下载
- 积分:1
-
speed-port-scanner
快速端口扫描器代码 整个完整工程 初学者可以参考一下 谢谢(Fast port scanner code for the complete project beginners can refer to thank you)
- 2011-06-29 16:09:10下载
- 积分:1
-
getpclist
Visual C#得到局域网计算机列表,也就是获取局域网内的所有在线的主机名称列表,请确保您的电脑在网络中,要不然程序获取时候可能要假死,需要强制结束任务。(Visual C# to get a LAN computer list, which is to obtain a list of all the online host names within the LAN, make sure your computer is on the network, or else the program when you may want to get suspended animation, you need to force the end of the task.)
- 2014-09-12 08:56:36下载
- 积分:1
-
sourcenode
以点为基础,对基于TDMA的adhoc网络进行复用的时隙分配。(Point based on time slots multiplexed TDMA-based adhoc network distribution.)
- 2016-03-17 14:03:50下载
- 积分:1