|
我所了解到了一些东西;但还不知道如何应用在程序中:方法一:
jmail::IMessagePtr pMessage("JMail.Message");
HRESULT _hr=pMessage->ParseMessage("MSG233.eml");
pMessage->LoadFromStream();//HRESULT LoadFromStream ( IUnknown * Stream );
方法二:通过ms的CDO模型,DropDirectory的GEtMessages等
附.eml文件一封;:
Received: from caill-a0102e33f.zjdt.com (unknown [221.12.62.106])
by smtp1 (Coremail) with SMTP id wKjRCw+ALxRno4xF1uLPEg==.46665S21;
Sat, 23 Dec 2016 11:32:58 +0800 (CST)
Subject: =?GB-2312?Q?=B9=AB=CB=BE=C4=DA=B2=BF=D0=C5=CF=A2=A8D=A8D=C6=E4=CB=FB=D0=C5=CF=A2_?=
Sender: "=?GB-2312?Q??=" <8128897hzl_1@163.com>
From: "=?GB-2312?Q??=" <8128897hzl_1@163.com>
Date: Sat, 23 Dec 2016 11:35:56 +0800
To: "=?GB-2312?Q?8128897hzl=5F1@163=2Ecom?=" <8128897hzl_1@163.com>,
"=?GB-2312?Q?8128897hzl=5F1@163=2Ecom?=" <8128897hzl_1@163.com>
X-Priority: 3
X-MSMail-Priority: Normal
Content-Transfer-Encoding: Quoted-Printable
MIME-Version: 1.0
X-Mailer: JMail 4.3.0 Free Version by Dimac
Content-Type: text/plain;
charset="GB-2312"
X-Coremail-Antispam: 1U3Yxn0WfASr-VFAUDIcSsGvfJ3s4kE64xI4xA0e2IEY21lb7
Iv0xC_CrUanT9S1TB71UUUUUUa7-sFnT9fnUUI43ZEXa7xRiUUUUUUUUUFnT9fnUU==
Message-Id: <458CA36B.131E66.03017>
DEAR TOM:
=B9=A4=B3=A7=C4=C7=B1=DF=D1=F9=C6=B7=D2=D1=B8=F8=C4=E3=BA=C3=B6=E0=CC=EC=C1=CB=
=A3=AC=BD=D0=CE=D2=CE=CA=D2=BB=CF=C2=C4=E3=A3=AC=CA=C7=B7=F1=D2=D1=BE=AD=CD=A8=
=B9=FD=C1=CB=A3=BF
=B2=C9=B9=BA=B2=BF =CD=F5=C7=DA
|
|