`
xqf222
  • 浏览: 126912 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

jmail收取POP3邮件代码-C#应用程序

 
阅读更多

安装JMAIL4.4 PROFESSION

工程引用JMAIL4.4 LIBRARY

JMAIL收邮件代码.能读所有的邮件数目,然后选择下拉菜单中的数目可以查看不同的邮件内容.
缺点,text/html邮件显示的是HTML代码的.只能收取开放了POP3功能的邮件

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Web;
using jmail;
namespace JmailMamage
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox txtMailTime;
private System.Windows.Forms.TextBox txtMailError;
private System.Windows.Forms.TextBox txtMailContent;
private System.Windows.Forms.TextBox txtMailFrom;
private System.Windows.Forms.TextBox txtMailTitle;
private System.Windows.Forms.TextBox txtMailAttack;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox txtMailSize;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtMailFormat;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtMailMime;
private System.Windows.Forms.TextBox txEncoding;
private System.Windows.Forms.TextBox txtMailCharset;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtTotal;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox txtPop3;
private System.Windows.Forms.TextBox txtPassword;
private System.Windows.Forms.TextBox txtPort;
private System.Windows.Forms.TextBox txtUserName;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;

public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();

//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}

/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}

#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.txtMailFrom = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtMailTitle = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.txtMailContent = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.txtMailAttack = new System.Windows.Forms.TextBox();
this.button2 = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.txtMailError = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.txtMailTime = new System.Windows.Forms.TextBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.label8 = new System.Windows.Forms.Label();
this.txtMailCharset = new System.Windows.Forms.TextBox();
this.txtMailSize = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.txEncoding = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.txtMailFormat = new System.Windows.Forms.TextBox();
this.txtMailMime = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.txtTotal = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.txtPop3 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.txtUserName = new System.Windows.Forms.TextBox();
this.label16 = new System.Windows.Forms.Label();
this.txtPort = new System.Windows.Forms.TextBox();
this.label17 = new System.Windows.Forms.Label();
this.txtPassword = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(408, 392);
this.button1.Name = "button1";
this.button1.TabIndex = 0;
this.button1.Text = "测试";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 144);
this.label1.Name = "label1";
this.label1.TabIndex = 1;
this.label1.Text = "发件人";
//
// txtMailFrom
//
this.txtMailFrom.Location = new System.Drawing.Point(136, 144);
this.txtMailFrom.Name = "txtMailFrom";
this.txtMailFrom.Size = new System.Drawing.Size(432, 21);
this.txtMailFrom.TabIndex = 2;
this.txtMailFrom.Text = "";
//
// label2
//
this.label2.Location = new System.Drawing.Point(8, 184);
this.label2.Name = "label2";
this.label2.TabIndex = 3;
this.label2.Text = "邮件标题";
//
// txtMailTitle
//
this.txtMailTitle.Location = new System.Drawing.Point(136, 184);
this.txtMailTitle.Name = "txtMailTitle";
this.txtMailTitle.Size = new System.Drawing.Size(432, 21);
this.txtMailTitle.TabIndex = 4;
this.txtMailTitle.Text = "";
//
// label3
//
this.label3.Location = new System.Drawing.Point(8, 392);
this.label3.Name = "label3";
this.label3.TabIndex = 5;
this.label3.Text = "邮件内容";
//
// txtMailContent
//
this.txtMailContent.Location = new System.Drawing.Point(0, 416);
this.txtMailContent.Multiline = true;
this.txtMailContent.Name = "txtMailContent";
this.txtMailContent.Size = new System.Drawing.Size(576, 168);
this.txtMailContent.TabIndex = 6;
this.txtMailContent.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(8, 224);
this.label4.Name = "label4";
this.label4.TabIndex = 7;
this.label4.Text = "附件数量";
//
// txtMailAttack
//
this.txtMailAttack.Location = new System.Drawing.Point(136, 224);
this.txtMailAttack.Name = "txtMailAttack";
this.txtMailAttack.Size = new System.Drawing.Size(432, 21);
this.txtMailAttack.TabIndex = 8;
this.txtMailAttack.Text = "";
//
// button2
//
this.button2.Location = new System.Drawing.Point(504, 392);
this.button2.Name = "button2";
this.button2.TabIndex = 9;
this.button2.Text = "收信";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label5
//
this.label5.Location = new System.Drawing.Point(32, 592);
this.label5.Name = "label5";
this.label5.TabIndex = 10;
this.label5.Text = "错误报告";
//
// txtMailError
//
this.txtMailError.Location = new System.Drawing.Point(136, 592);
this.txtMailError.Multiline = true;
this.txtMailError.Name = "txtMailError";
this.txtMailError.Size = new System.Drawing.Size(440, 72);
this.txtMailError.TabIndex = 11;
this.txtMailError.Text = "";
//
// label6
//
this.label6.Location = new System.Drawing.Point(8, 264);
this.label6.Name = "label6";
this.label6.TabIndex = 12;
this.label6.Text = "发信时间";
//
// txtMailTime
//
this.txtMailTime.Location = new System.Drawing.Point(136, 264);
this.txtMailTime.Name = "txtMailTime";
this.txtMailTime.Size = new System.Drawing.Size(104, 21);
this.txtMailTime.TabIndex = 13;
this.txtMailTime.Text = "";
//
// comboBox1
//
this.comboBox1.Location = new System.Drawing.Point(240, 392);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(80, 20);
this.comboBox1.TabIndex = 14;
this.comboBox1.Text = "1";
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
// button3
//
this.button3.Location = new System.Drawing.Point(160, 392);
this.button3.Name = "button3";
this.button3.TabIndex = 15;
this.button3.Text = "打开连接";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button4
//
this.button4.Location = new System.Drawing.Point(328, 392);
this.button4.Name = "button4";
this.button4.TabIndex = 16;
this.button4.Text = "关闭连接";
//
// label8
//
this.label8.Location = new System.Drawing.Point(328, 264);
this.label8.Name = "label8";
this.label8.TabIndex = 18;
this.label8.Text = "语言编码";
//
// txtMailCharset
//
this.txtMailCharset.Location = new System.Drawing.Point(432, 264);
this.txtMailCharset.Name = "txtMailCharset";
this.txtMailCharset.TabIndex = 19;
this.txtMailCharset.Text = "";
//
// txtMailSize
//
this.txtMailSize.Location = new System.Drawing.Point(432, 296);
this.txtMailSize.Name = "txtMailSize";
this.txtMailSize.TabIndex = 20;
this.txtMailSize.Text = "";
//
// label9
//
this.label9.Location = new System.Drawing.Point(328, 296);
this.label9.Name = "label9";
this.label9.TabIndex = 21;
this.label9.Text = "邮件大小";
//
// txEncoding
//
this.txEncoding.Location = new System.Drawing.Point(136, 328);
this.txEncoding.Name = "txEncoding";
this.txEncoding.TabIndex = 22;
this.txEncoding.Text = "";
//
// label10
//
this.label10.Location = new System.Drawing.Point(8, 328);
this.label10.Name = "label10";
this.label10.TabIndex = 23;
this.label10.Text = "Encoding";
//
// label11
//
this.label11.Location = new System.Drawing.Point(8, 296);
this.label11.Name = "label11";
this.label11.TabIndex = 24;
this.label11.Text = "内容格式";
//
// txtMailFormat
//
this.txtMailFormat.Location = new System.Drawing.Point(136, 296);
this.txtMailFormat.Name = "txtMailFormat";
this.txtMailFormat.TabIndex = 25;
this.txtMailFormat.Text = "";
//
// txtMailMime
//
this.txtMailMime.Location = new System.Drawing.Point(432, 360);
this.txtMailMime.Name = "txtMailMime";
this.txtMailMime.TabIndex = 26;
this.txtMailMime.Text = "";
//
// label12
//
this.label12.Location = new System.Drawing.Point(328, 360);
this.label12.Name = "label12";
this.label12.TabIndex = 27;
this.label12.Text = "Mime Ver";
//
// label13
//
this.label13.Location = new System.Drawing.Point(328, 328);
this.label13.Name = "label13";
this.label13.TabIndex = 28;
this.label13.Text = "邮件总数";
//
// txtTotal
//
this.txtTotal.Location = new System.Drawing.Point(432, 328);
this.txtTotal.Name = "txtTotal";
this.txtTotal.TabIndex = 29;
this.txtTotal.Text = "";
//
// label14
//
this.label14.Location = new System.Drawing.Point(16, 32);
this.label14.Name = "label14";
this.label14.TabIndex = 30;
this.label14.Text = "POP3地址";
//
// txtPop3
//
this.txtPop3.Location = new System.Drawing.Point(144, 32);
this.txtPop3.Name = "txtPop3";
this.txtPop3.TabIndex = 31;
this.txtPop3.Text = "pop3.163.com";
//
// label15
//
this.label15.Location = new System.Drawing.Point(16, 64);
this.label15.Name = "label15";
this.label15.TabIndex = 32;
this.label15.Text = "用户名";
//
// txtUserName
//
this.txtUserName.Location = new System.Drawing.Point(144, 64);
this.txtUserName.Name = "txtUserName";
this.txtUserName.TabIndex = 33;
this.txtUserName.Text = "hnxqf222";
//
// label16
//
this.label16.Location = new System.Drawing.Point(296, 32);
this.label16.Name = "label16";
this.label16.TabIndex = 34;
this.label16.Text = "端口";
//
// txtPort
//
this.txtPort.Location = new System.Drawing.Point(432, 32);
this.txtPort.Name = "txtPort";
this.txtPort.TabIndex = 35;
this.txtPort.Text = "110";
//
// label17
//
this.label17.Location = new System.Drawing.Point(296, 64);
this.label17.Name = "label17";
this.label17.TabIndex = 36;
this.label17.Text = "密码";
//
// txtPassword
//
this.txtPassword.Location = new System.Drawing.Point(432, 64);
this.txtPassword.Name = "txtPassword";
this.txtPassword.PasswordChar = '*';
this.txtPassword.TabIndex = 37;
this.txtPassword.Text = "";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.txtPassword);
this.groupBox1.Controls.Add(this.label17);
this.groupBox1.Controls.Add(this.txtPort);
this.groupBox1.Controls.Add(this.label16);
this.groupBox1.Controls.Add(this.label15);
this.groupBox1.Controls.Add(this.txtUserName);
this.groupBox1.Controls.Add(this.txtPop3);
this.groupBox1.Controls.Add(this.label14);
this.groupBox1.Location = new System.Drawing.Point(0, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(576, 104);
this.groupBox1.TabIndex = 38;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "P0P3收件人信箱设置";
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(584, 669);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.txtTotal);
this.Controls.Add(this.label13);
this.Controls.Add(this.label12);
this.Controls.Add(this.txtMailMime);
this.Controls.Add(this.txtMailFormat);
this.Controls.Add(this.label11);
this.Controls.Add(this.label10);
this.Controls.Add(this.txEncoding);
this.Controls.Add(this.label9);
this.Controls.Add(this.txtMailSize);
this.Controls.Add(this.txtMailCharset);
this.Controls.Add(this.label8);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.txtMailTime);
this.Controls.Add(this.label6);
this.Controls.Add(this.txtMailError);
this.Controls.Add(this.label5);
this.Controls.Add(this.button2);
this.Controls.Add(this.txtMailAttack);
this.Controls.Add(this.label4);
this.Controls.Add(this.txtMailContent);
this.Controls.Add(this.label3);
this.Controls.Add(this.txtMailTitle);
this.Controls.Add(this.label2);
this.Controls.Add(this.txtMailFrom);
this.Controls.Add(this.label1);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);

}
#endregion

/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}

private void button1_Click(object sender, System.EventArgs e)
{
jmail.POP3 jEmail=new jmail.POP3Class();
jmail.Message jMessage=new jmail.MessageClass();
string UserName="csharp222";
string Password="123456";
string MailServer="pop3.126.com";
jEmail.Connect(UserName, Password, MailServer, 110);
txtMailTitle.Text=jEmail.Count.ToString();
jEmail.Disconnect();

//if(jEmail.Size>0)
//{

txtMailTitle.Text=jMessage.FromName;
txtMailTitle.Text=jMessage.Subject;
txtMailTime.Text=jMessage.Date.ToString();
txtMailCharset.Text=jMessage.Body;

//}

}

private void button2_Click(object sender, System.EventArgs e)
{
jmail.POP3 mypop3 = new jmail.POP3Class();
try
{
mypop3.Connect("hnxqf222","iwillwin","pop3.163.com",110);

}
catch(Exception ex)
{
string str = "";
str = ex.Message.ToString();
txtMailContent.Text=str;
}

mypop3.Logging=true;
jmail.MessageClass Mail=new MessageClass();

Mail=(MessageClass)mypop3.Messages[1];
txtMailTitle.Text= Mail.FromName;//发件人
txtMailTitle.Text=Mail.Subject;//邮件主题
txtMailContent.Text=Mail.Body;//邮件内容

//txtMailCode.Text=Mail.Attachments.Count.ToString();//附件数
/*

int Ncount = mypop3.Messages.Count;
for(int mailNum=1;mailNum<Ncount;mailNum++)
{
Mail=(MessageClass)mypop3.Messages[mailNum];
txtMailTitle.Text= Mail.FromName;//发件人
txtMailTitle.Text=Mail.Subject;//邮件主题
txtMailTime.Text=Mail.Body;//邮件内容
txtMailCode.Text=Mail.Attachments.Count.ToString();//附件数

}
*/

}

private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
{

int ENumber=int.Parse(comboBox1.Text);
GetPOP3Email(ENumber);


}

private void button3_Click(object sender, System.EventArgs e)
{
GetPOP3Email(1);

//txtMailCode.Text=Mail.Attachments.Count.ToString();//附件数
/*

int Ncount = mypop3.Messages.Count;
for(int mailNum=1;mailNum<Ncount;mailNum++)
{
Mail=(MessageClass)mypop3.Messages[mailNum];
txtMailTitle.Text= Mail.FromName;//发件人
txtMailTitle.Text=Mail.Subject;//邮件主题
txtMailTime.Text=Mail.Body;//邮件内容
txtMailCode.Text=Mail.Attachments.Count.ToString();//附件数

}
*/

}
public void GetPOP3Email(int EmailNum)
{
jmail.POP3 mypop3 = new jmail.POP3Class();
try
{
//mypop3.Connect("hnxqf222","iwillwin","pop3.163.com",110);
string MailUserName=txtUserName.Text;
string MailPassword=txtPassword.Text;
string MailPop3Address=txtPop3.Text;
int MailPop3Port=int.Parse(txtPort.Text);

mypop3.Connect(MailUserName,MailPassword,MailPop3Address,MailPop3Port);

}
catch(Exception ex)
{
string str = "";
str = ex.Message.ToString();
txtMailError.Text=str;
}

mypop3.Logging=true;
jmail.MessageClass Mail=new MessageClass();
Mail=(MessageClass)mypop3.Messages[EmailNum];
txtMailFrom.Text= Mail.From;//发件人
txtMailTitle.Text=Mail.Subject;//邮件主题
txtMailCharset.Text=Mail.Charset;
txtMailAttack.Text=Mail.Attachments.Count.ToString();
txtMailTime.Text=Mail.Date.ToString();
txtMailContent.Text=Mail.Text;//邮件内容
txtMailSize.Text=Mail.Size.ToString();
txEncoding.Text=Mail.Encoding.ToString();
txtMailMime.Text=Mail.MimeVersion;
txtMailFormat.Text=Mail.ContentType;
int total=mypop3.Messages.Count;

if (comboBox1.Items.Count==0)
{
txtTotal.Text=(mypop3.Messages.Count-1).ToString();
for(int i=1;i<total;i++)
{
comboBox1.Items.Add(i);
}
}


}

private void Form1_Load(object sender, System.EventArgs e)
{

}


}
}

分享到:
评论

相关推荐

    Jmail组件收发邮件代码

    Jmail组件是一款在ASP.NET环境下用于发送和接收电子邮件的工具,它简化了Web应用程序与SMTP服务器之间的通信。本文将深入探讨Jmail组件的核心概念、使用方法以及如何通过代码实现邮件的收发。 首先,理解Jmail组件...

    JMail接收邮件小实例(c#)

    在本文中,我们将深入探讨如何使用C#编程语言与JMail库来实现邮件接收功能,包括查看邮件内容和处理附件。JMail是一个流行的.NET组件,它提供了全面的邮件操作功能,如发送、接收、管理邮件以及处理邮件附件。 首先...

    JMAIL收发邮件源代码及200多个ASP.NET中的控件使用源代码

    标题 "JMAIL收发邮件源代码及200多个ASP.NET中的控件使用源代码" 涉及的核心技术是JMAIL控件在ASP.NET环境下的应用,这是一款用于发送和接收电子邮件的组件。JMAIL提供了简单易用的接口,使得开发者能够方便地在ASP...

    C#邮件收发,收件有点乱码

    在C#编程中,邮件收发是一个常见的任务,通常我们会使用.NET Framework提供的System.Net.Mail命名空间或者第三方库如Jmail来实现。标题提到的问题“C#邮件收发,收件有点乱码”,这是一个典型的数据编码问题,可能...

    用C#+Jmail写的一个收取邮件以及附件的测试程序

    最近在开发一个项目,需要开发一个web版的邮件客户端程序,做了一个测试程序,没有加太多细节的代码,如果有需要的朋友,可以下载参考一下。点击下载 程序中用到了JMail 4.4专业版,需要的朋友也可以参考文章:...

    jmail4.4-发送邮件

    在IT行业中,发送电子邮件是...通过理解Jmail的工作原理,学习其API和实例,开发者可以轻松地在自己的Web应用程序中实现邮件通信功能。无论你是初学者还是经验丰富的开发者,Jmail 4.4都是一个值得信赖的邮件解决方案。

    C#调用jmail实现邮件的发送

    Jmail是由Dimio软件公司开发的一款用于.NET Framework的应用程序,它提供了方便的API接口,使得开发者能够轻松地在C#项目中集成邮件发送功能。Jmail支持SMTP、POP3、IMAP等多种邮件协议,可以发送HTML格式的邮件,...

    V-Jmail 在线邮件发送系统 -ASP源码.zip

    V-Jmail在线邮件发送系统是一款基于ASP编程语言的电子邮件解决方案,它允许用户通过Web界面发送邮件,无需依赖复杂的SMTP服务器配置。这个系统的核心优势在于其简单易用和灵活性,适用于那些希望在自己的网站上快速...

    vb6(JMail)接收邮件源代码

    通过JAMIL收取邮件代码,需要支持POP3的服务器,收取的邮件有列表显示,点击列表可显示邮件内容

    基于C#的JMAIL邮件系统,方便实用

    JMAIL是一个强大的邮件组件,它支持SMTP(简单邮件传输协议)和POP3(邮局协议)协议,使得开发者能够轻松地在应用程序中添加邮件收发功能。在C#环境下,JMAIL提供了丰富的API接口,可以进行邮件的创建、设置各种...

    jmail接收邮件代码

    JMail是由DP Software开发的,它支持SMTP(Simple Mail Transfer Protocol)用于发送邮件,以及POP3(Post Office Protocol version 3)和IMAP4(Internet Message Access Protocol version 4)用于接收邮件。...

    C#利用jmail组件发送电子邮件

    在IT行业中,C#是一种广泛使用的编程语言,尤其在Windows应用程序和Web应用开发领域。本教程将详述如何在C#环境下,利用jMail组件来发送电子邮件,这在日常业务交流、系统通知以及自动化任务中都非常实用。我们将...

    用jmail制作的邮件接受程序,能下载附件.zip

    标题中的“用jmail制作的邮件接受程序,能下载附件.zip”表明这是一个使用JMail库开发的邮件接收应用程序,能够处理并下载邮件中的附件。这个程序可能是为了方便用户自动化处理邮件,尤其是那些包含重要文件的邮件。...

    使用JMAIL收发邮件,附有JMAIL安装程序,JMAIL程序集及收发源码

    "frmReceiveMail.cs"和"frmSendEMail.cs"这两个文件是C#源代码文件,它们可能是示例程序的窗体类,展示了如何在实际应用中使用JMail。"frmReceiveMail.cs"可能包含了使用JMail接收邮件的代码示例,包括连接到邮件...

    C#接收邮件实例(含jmail.dll)

    在压缩包文件“C#邮件接收程序”中,可能包含了示例代码,演示了如何使用Jmail组件来实现以上所述的功能。通过学习和理解这些代码,开发者可以快速掌握C#下使用Jmail进行邮件接收的方法,从而在实际项目中应用。 总...

    C# 邮件收发 2013年最新jmail版

    JMail是一款强大的.NET邮件组件,它为C#开发者提供了简单易用的接口,用于实现SMTP(简单邮件传输协议)和POP3(邮局协议)功能。在2013年的版本中,JMail可能已经包含了对最新邮件标准的支持,如HTML邮件、附件、...

    jmail邮件接收发送程序

    JMail邮件接收发送程序是一个基于Java的库,用于在应用程序中实现电子邮件的发送和接收功能。JMail4.2是该库的一个版本,提供了丰富的API和示例代码,帮助开发者轻松地集成邮件通信到他们的Java项目中。在这个压缩包...

    c#.net收发邮件系统源码(jmail组件开发)

    在C#.NET环境中,开发一个收发邮件系统是一项常见的任务,尤其对于企业级应用来说,邮件功能是必不可少的。这个项目使用了JMail组件来实现邮件的发送和接收,同时将接收到的邮件写入数据库,确保数据的安全性和可...

    VB6+Jmail简单的邮件收发小程序

    邮件收发在现代通信中扮演着重要角色,VB6结合Jmail可以帮助开发者构建出能够处理电子邮件的应用程序。Jmail组件通过SMTP(Simple Mail Transfer Protocol)协议发送邮件,并通过POP3(Post Office Protocol version...

    c# jmail邮箱

    JMail组件基于SMTP(简单邮件传输协议)和POP3(邮局协议版本3)协议,使得程序员可以轻松地构建发送、接收邮件的应用程序。以下是对C# JMail邮箱及其相关知识点的详细解释: 1. **SMTP服务**:SMTP是互联网上传输...

Global site tag (gtag.js) - Google Analytics