C# 如何获取邮件的内容? 并且转化为中文?
做了一个邮件接收端,但是收到的东西都是乱码,我只需要邮件里的内容即可,别的都不关心,要怎么做?读出来的东西大概就是下面这个样子....Received:fromm12-1...
做了一个邮件接收端,但是收到的东西都是乱码,我只需要邮件里的内容即可,别的都不关心,要怎么做? 读出来的东西大概就是下面这个样子....
Received: from m12-184.163.com (unknown [220.181.12.184])
by mx13 (Coremail) with SMTP id wcmowEDpJEhuzJZRKOx0BA--.2319S2;
Sat, 18 May 2013 08:33:50 +0800 (CST)
Received: from =?UTF-8?B?572R5piT6YKu5Lu25Lit5b+D?= (unknown [192.168.194.19])
by mfast9 (Coremail) with SMTP id uMCowJArVtluzJZRyhJBAw--.39860S2;
Sat, 18 May 2013 08:33:50 +0800 (CST)
From: =?UTF-8?B?572R5piT6YKu5Lu25Lit5b+D?= <mail@service.netease.com>
Sender: mail@service.netease.com
To: jinxulin1@126.com
Message-ID: <280734495.62614.1368837230929.JavaMail.mail@service.netease.com>
Subject: =?UTF-8?B?5a6J5YWo6Zeu6aKY77yM5LiN6IO95Zyo?=
=?UTF-8?B?5Lqh576K6KGl54mi5pe25omN5oOz6LW35p2l?=
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Date: Sat, 18 May 2013 08:33:50 +0800 (CST)
X-CM-TRANSID:wcmowEDpJEhuzJZRKOx0BA--.2319S2
X-Coremail-Antispam: 1Uf129KBjvdXoW7XFy7ur48ur4DGFWfJry8AFb_yoW3KFXE9a
n3J3ZFgr42ka17Ww4ktw4qy3yqgayqqw1xKry8WwnxKw4YyF1SyFs3ur9YqF13X3W5Xa9x
XFs5t34rCrZFvjkaLaAFLSUrUU1Qmb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAU7a7-sFnT
9fnUUvcSsGvfC2KfnxnjZKAaVFWhVr0xZFpf9x0zRUUUUUUUUU= 展开
Received: from m12-184.163.com (unknown [220.181.12.184])
by mx13 (Coremail) with SMTP id wcmowEDpJEhuzJZRKOx0BA--.2319S2;
Sat, 18 May 2013 08:33:50 +0800 (CST)
Received: from =?UTF-8?B?572R5piT6YKu5Lu25Lit5b+D?= (unknown [192.168.194.19])
by mfast9 (Coremail) with SMTP id uMCowJArVtluzJZRyhJBAw--.39860S2;
Sat, 18 May 2013 08:33:50 +0800 (CST)
From: =?UTF-8?B?572R5piT6YKu5Lu25Lit5b+D?= <mail@service.netease.com>
Sender: mail@service.netease.com
To: jinxulin1@126.com
Message-ID: <280734495.62614.1368837230929.JavaMail.mail@service.netease.com>
Subject: =?UTF-8?B?5a6J5YWo6Zeu6aKY77yM5LiN6IO95Zyo?=
=?UTF-8?B?5Lqh576K6KGl54mi5pe25omN5oOz6LW35p2l?=
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Date: Sat, 18 May 2013 08:33:50 +0800 (CST)
X-CM-TRANSID:wcmowEDpJEhuzJZRKOx0BA--.2319S2
X-Coremail-Antispam: 1Uf129KBjvdXoW7XFy7ur48ur4DGFWfJry8AFb_yoW3KFXE9a
n3J3ZFgr42ka17Ww4ktw4qy3yqgayqqw1xKry8WwnxKw4YyF1SyFs3ur9YqF13X3W5Xa9x
XFs5t34rCrZFvjkaLaAFLSUrUU1Qmb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAU7a7-sFnT
9fnUUvcSsGvfC2KfnxnjZKAaVFWhVr0xZFpf9x0zRUUUUUUUUU= 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询