axsoft
版主
![](./myimg/board/mystar.gif) ![](./myimg/board/mystar.gif) ![](./myimg/board/mystar.gif) ![](./myimg/board/mystar.gif) ![](./myimg/board/mystar.gif)
![](http://earthday.link.org.tw/images/EARTHfinal.gif) 發表:681 回覆:1056 積分:969 註冊:2002-03-13
發送簡訊給我
|
引言:
我想寫一支有下列功能的程式
1>不用打開信件,就可以預覽信件中的圖片。
2>瀏覽圖片的檔案實際大小。
3>儲存信件中夾帶的圖片檔。 就是類似Outlook Helper的功能
只是我要做的是for Outlook Express的
但是我完全沒頭緒該從哪下手
請各位前輩給點意見
有個Mail Reader很像您要寫的程式,可以參考一下它的作法: Mailbox Reader http://www.mailnavigator.com/mailbox_reader.html
===============================================================
With MailNavigator, you can extract messages from the mailboxes of the majority of popular mail programs. You can open a mailbox and read the messages in it, and you can also do a search of the messages in the mailboxes. The processing language of the filters includes the standard operators: OR, AND, NOT, NEAR, their synonyms, and parentheses for defining the order of operators. Filters can be used on the message content and on some fields of the message header. The following types of mail boxes can be searched: PST files of MS Outlook DBX files of Outlook Express SNM files of Netscape Messenger or Netscape Collabra MBX files of Eudora Mail MSB files of The Bat and other message files (Eserv, FidoNet..)
Mbx files
Mbx file format is rather simple. It is an ordinary text file (in the format RFC-822) containing messages, and can be read by the usual text editor. Dbx file format
Unlike mbx format, dbx file format is quite complex. So we advise you not to try to extract information independently from a dbx file. You can use MailNavigator as a dbx file viewer, and you can also use MailNavigator to export messages from dbx to mbx format. Outlook pst file viewer
Unlike dbx and mbx formats, the pst format (mailboxes of the program MS Outlook) is protected by Microsoft. MailNavigator can access *.pst files only indirectly, through the mechanism of Outlook-OLE. In effect, a search of messages in Outlook folders is achieved by Outlook's own resources. To access a PST file, this file must be accessible from MS Outlook as a mail folder, and not only as an external file. It must be directly accessible from the MS Outlook program. In this case, MailNavigator will find the list of MS Outlook folders, and the necessary folder can be loaded, or can be used for a message search. Outlook Helper的功能大部份都仰賴Outlook VBA及MAPI來達到他的方法 A.參考一下透過MAPI取得MailBox 資料匣的方法吧! MAPI example code for getting folders and messages
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=24722 B.如果要達成你第一個問題,那就參考下面方法直接讀取檔案. 直接讀取 Outlook PST/DBX格式檔案 請參考: LibPST v0.4.3
=================================================
This project provides libraries and applications for the conversion of Outlook and Outlook Express data files to Linux MBOX format. The flagship of this project is LibPST which converts Outlook files, LibDBX which converts Outlook Express files and KDBX LibDBX v1.0.3
by Dave Smith - Thursday, August 9th 2001 12:34 PST About:
LibDBX contains C and a C interfaces for accessing Outlook Express dbx files (the C interface is just a wrapper for the C interface). Included are 2 programs. One will read a dbx file and output the emails in mbox format to stdout, the other will read the main "folder.dbx" file and export all the folders into seperate mbox files. 詳細內容請見:
http://sourceforge.net/projects/ol2mbox/ 網路志工聯盟----Visita網站http://www.vista.org.tw
---[ 發問前請先找找舊文章 ]--- 發表人 - axsoft 於 2003/01/17 14:03:18
|