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

资源简介

C#接收邮件示例

资源截图

代码片段和文件信息

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

namespace PopEmailManager
{
    public partial class Form1 : Form
    {
        public TcpClient Server;
        public StreamReader sr;
        public StreamWriter sw;
        public string Data content;
        public string CRLF = “\r\n“;

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            this.listBox1.Items.Clear();
            this.listBox2.Items.Clear();
            try
            {
                Server = new TcpClient(this.textBox1

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

     文件      28672  2009-12-27 20:24  PopEmailManager\PopEmailManager\bin\Debug\PopEmailManager.exe

     文件      26112  2009-12-27 20:24  PopEmailManager\PopEmailManager\bin\Debug\PopEmailManager.pdb

     文件       5632  2005-11-11 22:25  PopEmailManager\PopEmailManager\bin\Debug\PopEmailManager.vshost.exe

     文件       8293  2009-12-27 20:30  PopEmailManager\PopEmailManager\Form1.cs

     文件      12159  2009-12-27 20:30  PopEmailManager\PopEmailManager\Form1.Designer.cs

     文件       5814  2009-12-27 20:30  PopEmailManager\PopEmailManager\Form1.resx

     文件        842  2009-12-27 20:13  PopEmailManager\PopEmailManager\obj\Debug\PopEmailManager.csproj.GenerateResource.Cache

     文件      28672  2009-12-27 20:24  PopEmailManager\PopEmailManager\obj\Debug\PopEmailManager.exe

     文件        180  2009-12-27 20:13  PopEmailManager\PopEmailManager\obj\Debug\PopEmailManager.Form1.resources

     文件      26112  2009-12-27 20:24  PopEmailManager\PopEmailManager\obj\Debug\PopEmailManager.pdb

     文件        180  2009-12-27 20:13  PopEmailManager\PopEmailManager\obj\Debug\PopEmailManager.Properties.Resources.resources

     文件        868  2009-12-27 20:29  PopEmailManager\PopEmailManager\obj\PopEmailManager.csproj.FileListAbsolute.txt

     文件       3237  2009-12-27 20:10  PopEmailManager\PopEmailManager\PopEmailManager.csproj

     文件        474  2009-12-27 20:06  PopEmailManager\PopEmailManager\Program.cs

     文件       1202  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties\AssemblyInfo.cs

     文件       2886  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties\Resources.Designer.cs

     文件       5612  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties\Resources.resx

     文件       1100  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties\Settings.Designer.cs

     文件        249  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties\Settings.settings

     文件        934  2009-12-27 20:06  PopEmailManager\PopEmailManager.sln

    ..A..H.     13312  2009-12-27 20:38  PopEmailManager\PopEmailManager.suo

     目录          0  2009-12-27 20:06  PopEmailManager\PopEmailManager\obj\Debug\TempPE

     目录          0  2009-12-27 20:24  PopEmailManager\PopEmailManager\bin\Debug

     目录          0  2009-12-27 20:24  PopEmailManager\PopEmailManager\obj\Debug

     目录          0  2009-12-27 20:06  PopEmailManager\PopEmailManager\bin

     目录          0  2009-12-27 20:13  PopEmailManager\PopEmailManager\obj

     目录          0  2009-12-27 20:06  PopEmailManager\PopEmailManager\Properties

     目录          0  2009-12-27 20:30  PopEmailManager\PopEmailManager

     目录          0  2009-12-27 20:06  PopEmailManager

----------- ---------  ---------- -----  ----

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

评论

共有 条评论