高分求解: 怎樣分解SMTP,POP3郵件數據包內容?
怎樣分解SMTP,POP3郵件數據包內容? 提取:發件人,收件人,主題,附件,正文等信息
由於帶附件的數據包過長,有需要的請給郵箱,謝謝!
smtp 截取的數據包:
EHLO yimten
AUTH LOGIN
eNltdPQu
MAIzCd4vOKc=
MAIL FROM: <yimten@163.com>
RCPT TO: <betty0029@163.com>
DATA
Message-ID: <00b601c745e2$eba6a180$9b01010a@FUHUA.COM>
Reply-To: <yimten@163.com>
From: <yimten@163.com>
To: <betty0029@163.com>
Subject: =?big5?B?pUTDRA==?=
Date: Thu, 1 Feb 2007 17:25:31 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_00B1_01C74625.F978DB50"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
This is a multi-part message in MIME format.
------=_NextPart_000_00B1_01C74625.F978DB50
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
=A5=BF=A4=E5
------=_NextPart_000_00B1_01C74625.F978DB50
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>=A5=BF=A4=E5</FONT></DIV></BODY></HTML>
------=_NextPart_000_00B1_01C74625.F978DB50--
.
QUIT