收下来的邮件,每个邮箱系统内容都会不尽相同,有些有规则,有些没有规则,请问谁知道统一的邮件内容规则是什么样的?
怎么样把这样乱码变成中文.
有把各个部分解析出来的最好.
附一个邮件代码.+OK 3740 octets
HMM_SOURCE_IP:10.27.2.2:54150.1182454545
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from aisp2-mta?dg (dgproxy2.inner-hermes.com [10.27.2.2])
by 21cn.com (HERMES) with ESMTP id 7EB4238025
for <[email protected]>; Tue,  6 May 2008 20:01:51 +0800 (CST)
Received: from m11.tencent.com([219.133.61.58])
by aisp2-mta@dg(Knowledge-based for <[email protected]>;
Tue, 06 May 2008 20:01:51 +0800
X-Original-MailFrom: [email protected]
Received: from tencent.com ([172.16.131.35])
by m11.tencent.com (8.13.3/8.13.3) with SMTP id m46C2BO4023287
for <[email protected]>; Tue, 6 May 2008 20:02:11 +0800
Date: Tue, 6 May 2008 20:02:11 +0800
Message-Id: <[email protected]>
Subject: 耄ㄘ甘?From: [email protected]
To: [email protected]
Cc: 
Content-Type: text/html; charset=gb2312<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>耄ㄘ甘?/title>
</head>
 
<body><p>鹁吹QQ没</p>
<p>茫</p>
<p></p>
<p> [2008-05-06 20:01:48] 峤惑,笔?[<b>37******</b>] QQ屎搿?/p>
<p></p>
<p>确媳巍搿痹坚交模<a href="http://account.qq.com/cgi-bin/unsafe/reset
PW_byDNAEmail?emailid=0bb3de2a8d6cadcdcf33649c8ea014e1&
pwtype=0&source=pps&resetemailadd=05744647c1e8186b07f020de5f2153c643d
f85e95a59105620859d781fc52181&verstring=22b0d414341b11
007b10e95fa1a0477abc65795590b2d9ff5e2a10ed4c26fdf50c4f543d3534b4849c
d8848f9d32c1acc7e6008131c867d7e4743fb4b015efe6" style="c
olor: blue; text-decoration: underline" target="_blank"></a>咏一凇一效</p>
<p>薹也愿樱粘牡址冢然蟀础爻页碌幕痛鸢福</p>
<p>http://account.qq.com/cgi-bin/unsafe/resetPW_byDNAEmail?emailid=0
bb3de2a8d6cadcdcf33649c8ea014e1&pwtype=0&source=pps&reset
emailadd=05744647c1e8186b07f020de5f2153c643df85e95a59105620
859d781fc52181&verstring=22b0d414341b11007b10e95fa1a0477abc65795590
b2d9ff5e2a10ed4c26fdf50c4f543d3534b4849cd8848f9d32c1acc7e6
008131c867d7e4743fb4b015efe6</p>
<p>时没峤浑”锌拇丫泄露卸没图取屎牛强医峡录<a href="https://account.qq.c
om/cgi-bin/auth_forget?forgetType=PW" style="color: blue; 
text-decoration: underline" target="_blank">QQ屎欧</a>薷氡O?/p>
<p></p>
<p>馨示<br>
<br>
1讯司统一为 [email protected] 注始撸冒</p>
<p>2氡O非骋⑩保一渭牵只要芄准确募住写氡OJ故号蓖?a href="https://acco
unt.qq.com/cgi-bin/auth_forget?forgetType=PW" style="color
: blue; text-decoration: underline" target="_blank">QQ屎欧</a>一睾搿?/p>
<p>3薷氡OB?a href="https://account.qq.com/cgi-bin/authRSA?" style=
"color: blue; text-decoration: underline" target="_blank">
QQ屎欧</a>薷摹</p>
<p><span lang="en-us">4</span>为屎诺陌全椴灰姑非官吠凰T?a href="htt
p://im.qq.com" style="color: blue; text-decoration: underli
ne" target="_blank">毓俜碌目突</a></p>
<p>5始为系统远馗</p>
<p></p>
<p>谢使讯魏