全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:2138
推到 Plurk!
推到 Facebook!

讀取在信件所夾圖檔的程式要怎麼做

尚未結案
lee708
一般會員


發表:6
回覆:5
積分:7
註冊:2002-11-24

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-01-17 12:28:16 IP:210.202.xxx.xxx 未訂閱
我想寫一支有下列功能的程式 1>不用打開信件,就可以預覽信件中的圖片。 2>瀏覽圖片的檔案實際大小。 3>儲存信件中夾帶的圖片檔。 就是類似Outlook Helper的功能 只是我要做的是for Outlook Express的 但是我完全沒頭緒該從哪下手 請各位前輩給點意見
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-01-17 13:22:58 IP:61.218.xxx.xxx 未訂閱
引言: 我想寫一支有下列功能的程式 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
系統時間:2024-04-25 22:50:30
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!