我的编程空间,编程开发者的网络收藏夹
学习永远不晚

通过程序把Domino邮件的MIME信息输出

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

通过程序把Domino邮件的MIME信息输出

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

方法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-- *********************

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

通过程序把Domino邮件的MIME信息输出

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

通过程序把Domino邮件的MIME信息输出

方法1、开通Domino的Pop3服务,用邮件客户端去直接看。(这个还没尝试)方法2、通过程序把notes邮件的一些MIME信息输出。以便查看该邮件的相关信息。[@more@]=============原程序===========impor
2023-06-03

编程热搜

  • Python 学习之路 - Python
    一、安装Python34Windows在Python官网(https://www.python.org/downloads/)下载安装包并安装。Python的默认安装路径是:C:\Python34配置环境变量:【右键计算机】--》【属性】-
    Python 学习之路 - Python
  • chatgpt的中文全称是什么
    chatgpt的中文全称是生成型预训练变换模型。ChatGPT是什么ChatGPT是美国人工智能研究实验室OpenAI开发的一种全新聊天机器人模型,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上下文进行互动,并协助人类完成一系列
    chatgpt的中文全称是什么
  • C/C++中extern函数使用详解
  • C/C++可变参数的使用
    可变参数的使用方法远远不止以下几种,不过在C,C++中使用可变参数时要小心,在使用printf()等函数时传入的参数个数一定不能比前面的格式化字符串中的’%’符号个数少,否则会产生访问越界,运气不好的话还会导致程序崩溃
    C/C++可变参数的使用
  • css样式文件该放在哪里
  • php中数组下标必须是连续的吗
  • Python 3 教程
    Python 3 教程 Python 的 3.0 版本,常被称为 Python 3000,或简称 Py3k。相对于 Python 的早期版本,这是一个较大的升级。为了不带入过多的累赘,Python 3.0 在设计的时候没有考虑向下兼容。 Python
    Python 3 教程
  • Python pip包管理
    一、前言    在Python中, 安装第三方模块是通过 setuptools 这个工具完成的。 Python有两个封装了 setuptools的包管理工具: easy_install  和  pip , 目前官方推荐使用 pip。    
    Python pip包管理
  • ubuntu如何重新编译内核
  • 改善Java代码之慎用java动态编译

目录