日期:2014-05-20  浏览次数:21109 次

做过邮件收取的请进!有几点问题请教!高分相赠!
最近在最邮件收取的一个东西,POP3从邮箱取邮件是能取到了,问题也出来了
以下为从163邮箱里取到的:
=====================================================================
+OK   1322   octets
Received:from   quickmail.51job.com   (unknown   [61.129.48.175])
by   mx6   (Coremail)   with   SMTP   id   wKjAOi4AzQeiRLtEH_Z9Bw==.18931S2;
Mon,   17   Jul   2006   16:04:50   +0800   (CST)
Received:(qmail   18474   invoked   from   network);   17   Jul   2006   08:04:48   -0000
Received:from   unknown   (HELO   www14.51job.com)   (192.168.1.26)
    by   quickmail.51job.com   with   SMTP;   17   Jul   2006   08:04:48   -0000
Received:(qmail   14106   invoked   by   uid   99);   17   Jul   2006   08:04:48   -0000
Date:17   Jul   2006   08:04:48   -0000
Message-ID: <20060717080448.14105.qmail@www14.51job.com>
To:nan77570@163.com
Subject:=?gb2312?B?KMjw0MfM4cq+LbTL08q8/r/JxNzKx8Csu/jTyrz+KQ==?==?gb2312?B?Rm9yZ2V0IFBhc3N3b3JkIQ==?=
MIME-Version:1.0
From:service@51job.com
X-Mailer:Html   Mime   Mail   Class
Content-Type:multipart/mixed;
charset= " 'gb2312 ' ";
boundary= "=_2b9c43c12b8831de20b62fd73f650a8b "
X-Brightmail-Tracker:AAAAAQAAAAQ=Sender:   POSTMASTER@quickmail.51job.com
Sender:POSTMASTER@quickmail.51job.com


--=_2b9c43c12b8831de20b62fd73f650a8b
Content-Type:   text/html;charset= "gb2312 "
Content-Transfer-Encoding:   base64

PHRhYmxlIGJvcmRlcj0xPjx0ciBzdHlsZT0iZm9udC1jb2xvcjpyZWQiPjx0ZD6x4LrFPC90ZD48
dGQ+u+HUscP7PC90ZD48dGQ+w9zC6zwvdGQ+PHRkPkVtYWlsPC90ZD48L3RyPjx0cj48dGQ+MS48
L3RkPjx0ZD55dWhhaWxhbjwvdGQ+PHRkPnl1aGFpbGFuPC90ZD48dGQ+bmFuNzc1NzBAMTYzLmNv
bTwvdGQ+PC90cj48L3RhYmxlPg==


--=_2b9c43c12b8831de20b62fd73f650a8b--

=====================================================================
问题如下:
1、如何能准确的定位到邮件的内容部分(就是直接把邮件正文剥离出来)?
2、如何从邮件的信息中找到哪些邮件是未读的,哪些是已读的?
3、POP3协议登陆的问题,163邮箱中,我用N年前的帐号密码直接登陆的时候是正常的,当用我刚申请的邮箱测试的时候,总是提示密码错误。难道要将密码加密后再通过POP3发送才行吗?

望各位大虾不吝赐教!!!解决1、2问题者送分100!开贴另外送分!

PS:特殊原因,不能用JMail这个组件。能提供DLL什么的也行..拜谢!

------解决方案--------------------
DotNetOpenMail这个开源的,你可以试试的
------解决方案--------------------
关注
------解决方案--------------------
1.正则表达式