我们专注攀枝花网站设计 攀枝花网站制作 攀枝花网站建设
成都网站建设公司服务热线:400-028-6601

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

通过程序把Domino邮件的MIME信息输出-创新互联

方法1、开通Domino的Pop3服务,用邮件客户端去直接看。(这个还没尝试)

成都创新互联公司一直在为企业提供服务,多年的磨炼,使我们在创意设计,营销型网站到技术研发拥有了开发经验。我们擅长倾听企业需求,挖掘用户对产品需求服务价值,为企业制作有用的创意设计体验。核心团队拥有超过10余年以上行业经验,涵盖创意,策化,开发等专业领域,公司涉及领域有基础互联网服务成都IDC机房托管App定制开发、手机移动建站、网页设计、网络整合营销。

方法2、通过程序把notes邮件的一些MIME信息输出。以便查看该邮件的相关信息。

[@more@]

=============原程序===========

import lotus.domino.*;
import java.io.*;
import java.util.*;

public class JavaAgent extends AgentBase {
public void NotesMain() {
Session session = null;
try {
session = getSession();
AgentContext agentContext = session.getAgentContext();
java.io.PrintWriter pw = getAgentOutput();
Database curDB = agentContext.getCurrentDatabase();
Document doc = null;
doc = curDB.getDocumentByUNID("F3CE3E30755155F0482573D7001583A1");
// doc = curDB.getDocumentByUNID("2969DC09C5F4F6664825735D00121A33");
//========================== mime Test =============
session.setConvertMIME(false);
MIMEEntity mime = doc.getMIMEEntity();
showMimeEntryInfo(pw,mime);
doc.recycle();
curDB.recycle();
session.setConvertMIME(true);
} catch(Exception e) {
e.printStackTrace();
}finally{
try {
session.recycle();
} catch(Exception e) {
e.printStackTrace();
}
}
} //输出 mimeEntry 的所有 childMime 信息,如果没有子对象,就不处理
public void showMimeEntryInfo(PrintWriter pw,MIMEEntity mimeEntry){
// mimeEntry.getHeaderObjects();
try{
//输出当前节点信息
pw.println("********************* mimeEntry.getBoundaryStart() "+mimeEntry.getBoundaryStart()+" *********************
");
pw.println("[mimeEntry.getPreamble]: " + mimeEntry.getPreamble()+"
");
pw.println("[mimeEntry.getHeaders]: " + mimeEntry.getHeaders()+"
");
pw.println("[mimeEntry.getContentType]: " + mimeEntry.getContentType()+"
");
pw.println("[mimeEntry.getContentSubType]: " + mimeEntry.getContentSubType()+"
");
if(mimeEntry.getContentType().equals("application")){
pw.println("mimeEntry.getContentType=application 是程序"+"
");
java.io.Reader rd = mimeEntry.getReader();
pw.println("rd.toString()= "+rd.toString()+"
");
}
Vector headers = mimeEntry.getHeaderObjects();
if(headers.size()>0){
pw.println("headers.size= "+String.valueOf(headers.size())+"
");
}
for (int j = 0; j < headers.size(); j++) {
MIMEHeader header = (MIMEHeader)headers.elementAt(j);
pw.println("[HeaderName]: " + header.getHeaderName()+"[HeaderVal]"+header.getHeaderVal()+"
");
// if(j==0)
pw.println("[header.getHeaderValAndParams()]: "+header.getHeaderValAndParams()+"
");
}
pw.println("********************* mimeEntry.getBoundaryEnd() "+mimeEntry.getBoundaryEnd()+" *********************"+"
");
//处理子节点信息
MIMEEntity child = mimeEntry.getFirstChildEntity();
//如果有子节点,就处理所有的子节点
while(child != null){
//处理第一个
showMimeEntryInfo(pw,child);
//取本 child 的下一个 MIMEEntity
child = child.getNextSibling();
}
} catch(Exception e) {
e.printStackTrace();
}
}
}

=============== 输出效果 ==================

********************* mimeEntry.getBoundaryStart() *********************
[mimeEntry.getPreamble]:
[mimeEntry.getHeaders]: Received: from e23smtp02.au.ibm.com ([202.81.18.163]) by mail.chinaccs.com.cn (Lotus Domino Release 6.5.4) with ESMTP id 2008012111331437-132 ; Mon, 21 Jan 2008 11:33:14 +0800 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.18.234]) by e23smtp02.au.ibm.com (8.13.1/8.13.1) with ESMTP id m0L3XUXw010261 for ; Mon, 21 Jan 2008 14:33:30 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m0L3XBOR434354 for ; Mon, 21 Jan 2008 14:33:12 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m0L3X9dN018803 for ; Mon, 21 Jan 2008 14:33:09 +1100 Received: from d23m0013.cn.ibm.com (d23m0013.cn.ibm.com [9.181.2.73]) by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m0L3WEJp017434 for ; Mon, 21 Jan 2008 14:32:14 +1100 Subject: =?GB2312?B?SUJN1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?= To: xiayd@chinaccs.com.cn Message-ID: From: Miao LIU Date: Mon, 21 Jan 2008 11:34:43 +0800 Reply-To: Bcc: Content-type: multipart/mixed; Boundary="0__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E" X-Mailer: Lotus Notes Release 7.0 HF144 February 01, 2006 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on d23m0013/23/M/IBM(Release 7.0.2FP2HF178 | August 10, 2007) at 21/01/2008 11:34:55,Itemize by SMTP Server on hqml01/hq/chinaccs(Release 6.5.4|March 27, 2005) at 2008-01-21 11:54:59 Sensitivity: Importance: X-Priority: X-Notes-Item: 1; name=$NoteHasNativeMIME X-Notes-Item: liumiao@cn.ibm.com; name=SMTPOriginator; flags=44 X-Notes-Item: Memo; name=Form X-Notes-Item: CN=hqml01/OU=hq/O=chinaccs,CN=hqap01/OU=hq/O=chinaccs; name=RouteServers; type=501; flags=0 X-Notes-Item: 21-Jan-2008 11:54:59 ZE8/21-Jan-2008 11:55:00 ZE8, 21-Jan-2008 11:54:08 ZE8/21-Jan-2008 11:54:09 ZE8; name=RouteTimes; type=401; flags=0 X-Notes-Item: F3CE3E30:755155F0-482573D7:001583A1; name=$Orig; type=4 X-Notes-Item: ; name=Categories X-Notes-Item: Mon, 21 Jan 2008 11:54:08 +0800; name=$Revisions; type=400 X-Notes-Item: 0; name=$MsgTrackFlags X-Notes-Item: Mon, 21 Jan 2008 11:54:09 +0800; name=DeliveredDate; type=400 X-Notes-Item: ; name=AltFrom X-Notes-Item: StdNotesLtrGateway; name=Logo X-Notes-Item: False; name=useApplet X-Notes-Item: 0; name=Encrypt X-Notes-Item: 0; name=Sign X-Notes-Item: ; name=tmpImp2 X-Notes-Item: 0; name=DefaultMailSaveOptions X-Notes-Item: opendocument&vw=($Inbox)&m_Seq=0.15739399906692658; name=Query_String X-Notes-Item: ; name=DeliveryReport X-Notes-Item: ; name=tmpSendOptions X-Notes-Item: ; name=MailOptions X-Notes-Item: ; name=SaveOptions X-Notes-Item: ; name=AbortGracefully X-Notes-Item: ; name=tmpOpenMsg X-Notes-Item: ; name=ReturnView X-Notes-Item: 0; name=tmpAlreadySent X-Notes-Item: ; name=docID X-Notes-Item: ; name=pdocID X-Notes-Item: xiayd@chinaccs.com.cn; name=EnterSendTo; flags=44 X-Notes-Item: ; name=EnterCopyTo; flags=44 X-Notes-Item: ; name=EnterBlindCopyTo; flags=44 X-Notes-Item: ; name=FaxToList; flags=44 X-Notes-Item: 0; name=$V2AttachmentOptions X-Notes-Item: 0; name=DeleteFlag X-Notes-Item: ; name=returnUrl X-Notes-Item: ; name=Type X-Notes-Item: ; name=targetfile X-Notes-Item: IBM=?GB2312?B?1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?=; name=WebSubject X-Notes-Item: F3CE3E30755155F0482573D7001583A1; name=UnSaveDocID X-Notes-Item: ; name=ATMFilesName X-Notes-Item: ; name=ATMFilesSize X-Notes-Item: ; name=ATMFilesDate X-Notes-Item: mail; name=plat X-Notes-Item: ; name=ATMFileDeleted X-Notes-Item: ; name=ATMFileAdded X-Notes-Item: 0; name=ATMUploading X-Notes-Item: 1; name=ReadFlag X-Notes-Item: CN==?GB2312?B?z8TS5LasL09VPWhxL089Y2hpbmFjY3M=?=; name=$UpdatedBy; type=501; flags=44
[mimeEntry.getContentType]: multipart
[mimeEntry.getContentSubType]: mixed
headers.size= 67
[HeaderName]: Received[HeaderVal]from e23smtp02.au.ibm.com ([202.81.18.163]) by mail.chinaccs.com.cn (Lotus Domino Release 6.5.4) with ESMTP id 2008012111331437-132
[header.getHeaderValAndParams()]: from e23smtp02.au.ibm.com ([202.81.18.163]) by mail.chinaccs.com.cn (Lotus Domino Release 6.5.4) with ESMTP id 2008012111331437-132 ; Mon, 21 Jan 2008 11:33:14 +0800
[HeaderName]: Received[HeaderVal]from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.18.234])by e23smtp02.au.ibm.com (8.13.1/8.13.1) with ESMTP id m0L3XUXw010261for
[header.getHeaderValAndParams()]: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.18.234])by e23smtp02.au.ibm.com (8.13.1/8.13.1) with ESMTP id m0L3XUXw010261for ; Mon, 21 Jan 2008 14:33:30 +1100
[HeaderName]: Received[HeaderVal]from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138])by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m0L3XBOR434354for
[header.getHeaderValAndParams()]: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138])by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m0L3XBOR434354for ; Mon, 21 Jan 2008 14:33:12 +1100
[HeaderName]: Received[HeaderVal]from d23av02.au.ibm.com (loopback [127.0.0.1])by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m0L3X9dN018803for
[header.getHeaderValAndParams()]: from d23av02.au.ibm.com (loopback [127.0.0.1])by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m0L3X9dN018803for ; Mon, 21 Jan 2008 14:33:09 +1100
[HeaderName]: Received[HeaderVal]from d23m0013.cn.ibm.com (d23m0013.cn.ibm.com [9.181.2.73])by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m0L3WEJp017434for
[header.getHeaderValAndParams()]: from d23m0013.cn.ibm.com (d23m0013.cn.ibm.com [9.181.2.73])by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m0L3WEJp017434for ; Mon, 21 Jan 2008 14:32:14 +1100
[HeaderName]: Subject[HeaderVal]=?GB2312?B?SUJN1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?=
[header.getHeaderValAndParams()]: =?GB2312?B?SUJN1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?=
[HeaderName]: To[HeaderVal]xiayd@chinaccs.com.cn
[header.getHeaderValAndParams()]: xiayd@chinaccs.com.cn
[HeaderName]: Message-ID[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: From[HeaderVal]Miao LIU
[header.getHeaderValAndParams()]: Miao LIU
[HeaderName]: Date[HeaderVal]Mon, 21 Jan 2008 11:34:43 +0800
[header.getHeaderValAndParams()]: Mon, 21 Jan 2008 11:34:43 +0800
[HeaderName]: Reply-To[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: Bcc[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: Content-type[HeaderVal]multipart/mixed
[header.getHeaderValAndParams()]: multipart/mixed; Boundary="0__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E"
[HeaderName]: X-Mailer[HeaderVal]Lotus Notes Release 7.0 HF144 February 01, 2006
[header.getHeaderValAndParams()]: Lotus Notes Release 7.0 HF144 February 01, 2006
[HeaderName]: MIME-Version[HeaderVal]1.0
[header.getHeaderValAndParams()]: 1.0
[HeaderName]: X-MIMETrack[HeaderVal]Serialize by Router on d23m0013/23/M/IBM(Release 7.0.2FP2HF178 | August 10, 2007) at21/01/2008 11:34:55,Itemize by SMTP Server on hqml01/hq/chinaccs(Release 6.5.4|March 27, 2005) at2008-01-21 11:54:59
[header.getHeaderValAndParams()]: Serialize by Router on d23m0013/23/M/IBM(Release 7.0.2FP2HF178 | August 10, 2007) at21/01/2008 11:34:55,Itemize by SMTP Server on hqml01/hq/chinaccs(Release 6.5.4|March 27, 2005) at2008-01-21 11:54:59
[HeaderName]: Sensitivity[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: Importance[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: X-Priority[HeaderVal]
[header.getHeaderValAndParams()]:
[HeaderName]: X-Notes-Item[HeaderVal]1
[header.getHeaderValAndParams()]: 1; name=$NoteHasNativeMIME
[HeaderName]: X-Notes-Item[HeaderVal]liumiao@cn.ibm.com
[header.getHeaderValAndParams()]: liumiao@cn.ibm.com; name=SMTPOriginator; flags=44
[HeaderName]: X-Notes-Item[HeaderVal]Memo
[header.getHeaderValAndParams()]: Memo; name=Form
[HeaderName]: X-Notes-Item[HeaderVal]CN=hqml01/OU=hq/O=chinaccs,CN=hqap01/OU=hq/O=chinaccs
[header.getHeaderValAndParams()]: CN=hqml01/OU=hq/O=chinaccs,CN=hqap01/OU=hq/O=chinaccs; name=RouteServers; type=501; flags=0
[HeaderName]: X-Notes-Item[HeaderVal]21-Jan-2008 11:54:59 ZE8/21-Jan-2008 11:55:00 ZE8, 21-Jan-2008 11:54:08 ZE8/21-Jan-2008 11:54:09 ZE8
[header.getHeaderValAndParams()]: 21-Jan-2008 11:54:59 ZE8/21-Jan-2008 11:55:00 ZE8, 21-Jan-2008 11:54:08 ZE8/21-Jan-2008 11:54:09 ZE8; name=RouteTimes; type=401; flags=0
[HeaderName]: X-Notes-Item[HeaderVal]F3CE3E30:755155F0-482573D7:001583A1
[header.getHeaderValAndParams()]: F3CE3E30:755155F0-482573D7:001583A1; name=$Orig; type=4
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=Categories
[HeaderName]: X-Notes-Item[HeaderVal]Mon, 21 Jan 2008 11:54:08 +0800
[header.getHeaderValAndParams()]: Mon, 21 Jan 2008 11:54:08 +0800; name=$Revisions; type=400
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=$MsgTrackFlags
[HeaderName]: X-Notes-Item[HeaderVal]Mon, 21 Jan 2008 11:54:09 +0800
[header.getHeaderValAndParams()]: Mon, 21 Jan 2008 11:54:09 +0800; name=DeliveredDate; type=400
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=AltFrom
[HeaderName]: X-Notes-Item[HeaderVal]StdNotesLtrGateway
[header.getHeaderValAndParams()]: StdNotesLtrGateway; name=Logo
[HeaderName]: X-Notes-Item[HeaderVal]False
[header.getHeaderValAndParams()]: False; name=useApplet
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=Encrypt
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=Sign
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=tmpImp2
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=DefaultMailSaveOptions
[HeaderName]: X-Notes-Item[HeaderVal]opendocument&vw=($Inbox)&m_Seq=0.15739399906692658
[header.getHeaderValAndParams()]: opendocument&vw=($Inbox)&m_Seq=0.15739399906692658; name=Query_String
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=DeliveryReport
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=tmpSendOptions
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=MailOptions
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=SaveOptions
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=AbortGracefully
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=tmpOpenMsg
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ReturnView
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=tmpAlreadySent
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=docID
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=pdocID
[HeaderName]: X-Notes-Item[HeaderVal]xiayd@chinaccs.com.cn
[header.getHeaderValAndParams()]: xiayd@chinaccs.com.cn; name=EnterSendTo; flags=44
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=EnterCopyTo; flags=44
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=EnterBlindCopyTo; flags=44
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=FaxToList; flags=44
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=$V2AttachmentOptions
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=DeleteFlag
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=returnUrl
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=Type
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=targetfile
[HeaderName]: X-Notes-Item[HeaderVal]IBM=?GB2312?B?1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?=
[header.getHeaderValAndParams()]: IBM=?GB2312?B?1/bLvL/GzfjV5rXEvenJ3KOsx+uy6b+0?=; name=WebSubject
[HeaderName]: X-Notes-Item[HeaderVal]F3CE3E30755155F0482573D7001583A1
[header.getHeaderValAndParams()]: F3CE3E30755155F0482573D7001583A1; name=UnSaveDocID
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ATMFilesName
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ATMFilesSize
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ATMFilesDate
[HeaderName]: X-Notes-Item[HeaderVal]mail
[header.getHeaderValAndParams()]: mail; name=plat
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ATMFileDeleted
[HeaderName]: X-Notes-Item[HeaderVal]
[header.getHeaderValAndParams()]: ; name=ATMFileAdded
[HeaderName]: X-Notes-Item[HeaderVal]0
[header.getHeaderValAndParams()]: 0; name=ATMUploading
[HeaderName]: X-Notes-Item[HeaderVal]1
[header.getHeaderValAndParams()]: 1; name=ReadFlag
[HeaderName]: X-Notes-Item[HeaderVal]CN==?GB2312?B?z8TS5LasL09VPWhxL089Y2hpbmFjY3M=?=
[header.getHeaderValAndParams()]: CN==?GB2312?B?z8TS5LasL09VPWhxL089Y2hpbmFjY3M=?=; name=$UpdatedBy; type=501; flags=44
********************* mimeEntry.getBoundaryEnd() *********************
********************* mimeEntry.getBoundaryStart() --0__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E *********************
[mimeEntry.getPreamble]:
[mimeEntry.getHeaders]: Content-type: multipart/alternative; Boundary="1__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E"
[mimeEntry.getContentType]: multipart
[mimeEntry.getContentSubType]: alternative
headers.size= 1
[HeaderName]: Content-type[HeaderVal]multipart/alternative
[header.getHeaderValAndParams()]: multipart/alternative; Boundary="1__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E"
********************* mimeEntry.getBoundaryEnd() *********************
********************* mimeEntry.getBoundaryStart() --1__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E *********************
[mimeEntry.getPreamble]:
[mimeEntry.getHeaders]: Content-Transfer-Encoding: base64 Content-type: text/plain; charset=GB2312
[mimeEntry.getContentType]: text
[mimeEntry.getContentSubType]: plain
headers.size= 2
[HeaderName]: Content-Transfer-Encoding[HeaderVal]base64
[header.getHeaderValAndParams()]: base64
[HeaderName]: Content-type[HeaderVal]text/plain
[header.getHeaderValAndParams()]: text/plain; charset=GB2312
********************* mimeEntry.getBoundaryEnd() *********************
********************* mimeEntry.getBoundaryStart() --1__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E *********************
[mimeEntry.getPreamble]:
[mimeEntry.getHeaders]: Content-Transfer-Encoding: base64 Content-type: text/html; charset=GB2312 Content-Disposition: inline
[mimeEntry.getContentType]: text
[mimeEntry.getContentSubType]: html
headers.size= 3
[HeaderName]: Content-Transfer-Encoding[HeaderVal]base64
[header.getHeaderValAndParams()]: base64
[HeaderName]: Content-type[HeaderVal]text/html
[header.getHeaderValAndParams()]: text/html; charset=GB2312
[HeaderName]: Content-Disposition[HeaderVal]inline
[header.getHeaderValAndParams()]: inline
********************* mimeEntry.getBoundaryEnd() --1__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E-- *********************
********************* mimeEntry.getBoundaryStart() --0__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E *********************
[mimeEntry.getPreamble]:
[mimeEntry.getHeaders]: Content-Transfer-Encoding: binary Content-type: application/vnd.ms-powerpoint; name="cc-ICS_CC_CiscoTelePresenceCustomerPresentation5-14-07v2withspeakernotes_C .ppt" Content-Disposition: attachment; filename="cc-ICS_CC_CiscoTelePresenceCustomerPresentation5-14-07v2withspeakernotes_C .ppt" Content-ID: <1__=C7BBF944DF80409E8f9e8a93df938@cn.ibm.com>
[mimeEntry.getContentType]: application
[mimeEntry.getContentSubType]: vnd.ms-powerpoint
mimeEntry.getContentType=application 是程序
rd.toString()= java.io.StringReader@7bf2e9b2
headers.size= 4
[HeaderName]: Content-Transfer-Encoding[HeaderVal]binary
[header.getHeaderValAndParams()]: binary
[HeaderName]: Content-type[HeaderVal]application/vnd.ms-powerpoint
[header.getHeaderValAndParams()]: application/vnd.ms-powerpoint; name="cc-ICS_CC_CiscoTelePresenceCustomerPresentation5-14-07v2withspeakernotes_C.ppt"
[HeaderName]: Content-Disposition[HeaderVal]attachment
[header.getHeaderValAndParams()]: attachment; filename="cc-ICS_CC_CiscoTelePresenceCustomerPresentation5-14-07v2withspeakernotes_C.ppt"
[HeaderName]: Content-ID[HeaderVal]<1__=C7BBF944DF80409E8f9e8a93df938@cn.ibm.com>
[header.getHeaderValAndParams()]: <1__=C7BBF944DF80409E8f9e8a93df938@cn.ibm.com>
********************* mimeEntry.getBoundaryEnd() --0__=C7BBF944DF80409E8f9e8a93df938690918cC7BBF944DF80409E-- *********************


分享题目:通过程序把Domino邮件的MIME信息输出-创新互联
网址分享:http://shouzuofang.com/article/dpgede.html

其他资讯