You can also export emails into .txt files as well... At least you can on 2000 and XP. You can also get an add-on for Outlook that will automatically do this for you. Since the one I use is a commercial program I will just say do a google search on automatically saving emails in outlook and you should get something. Hope this is of use. Bradley
-----Original Message----- From: Bill Akins [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:23 PM To: [EMAIL PROTECTED]; 'Wiggins d'Anconia' Cc: 'PerlDiscuss - Perl Newsgroups and mailing lists'; [EMAIL PROTECTED] Subject: RE: How to parse Microsoft Outlook Inbox > -----Original Message----- > From: Tassilo von Parseval > [mailto:[EMAIL PROTECTED] > Sent: Friday, January 09, 2004 12:24 AM > To: Wiggins d'Anconia > Cc: PerlDiscuss - Perl Newsgroups and mailing lists; > [EMAIL PROTECTED] > Subject: Re: How to parse Microsoft Outlook Inbox > > > On Thu, Jan 08, 2004 at 10:37:02PM -0500 Wiggins d'Anconia wrote: > > PerlDiscuss - Perl Newsgroups and mailing lists wrote: > > >Hi, > > > I am trying to write a script that will parse > Microsoft outlook > > >Inbox to a .txt file. Please let me know if there a way > to do that. > > >Thanks in advance for your help. > > > > > > > > > > I know very little about this specific subject, but > Mail::Box has some > > support for Outlook (maybe only express) mail, via > Mail::Transport::Dbx. > > It is read only which sounds like it should support your > purposes, and > > works on dbx files whatever those are. Other than that I > haven't seen > > any outlook mail parsers before... > > In the hope that the OP was a little sloppy in his wording > and he did in fact mean Outlook Express then, yes, he can use > Mail::Transport::Dbx either directly or through Mail::Box. > Those dbx files are OutlookX' equivalents to the standard mbox format. > > If he really meant Outlook, then he's out of luck (heh). I > had a look at the libpst (which is by the same authors as the > libdbx used in > M::T::Dbx) but that rather put me off. Outlook's formats are > infinitely more complicated (there seem to be two versions of > those living in parallel even). > > Tassilo > -- > $_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$- > 3(rellac(=_$({ > pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(reh > tona{tsuJbus#; > $_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y > ~\n~~dddd;eval > > Hi! In Outlook (not sure about Express), you can export the mailbox to a .csv or tab seperated file as well as dBase, foxpro, access, excel or a pst file. That may be a little step towards your goal. Not sure what kind of layout you are looking for in your .txt file, but that may help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>