Redirect Email to File

C

carlc986

Hi, does anyone know if its possible to redirect incoming Outlook email to a
file rather than an outlook email account?
 
G

Gordon

carlc986 said:
Hi, does anyone know if its possible to redirect incoming Outlook email to
a
file rather than an outlook email account?

Presumably you mean a file outside of Outlook? (BTW, an Outlook "email
account" only contains account information - no files. It's your Personal
Folders File (PST) that holds the emails)
 
B

Brian Tillman [MVP - Outlook]

Hi, does anyone know if its possible to redirect incoming Outlook email to a
file rather than an outlook email account?

With a client other than Outlook, I imagine it's possible. It may also be
possible to write VBA code to save all incoming messages as external files,
but you'll still need to be able to receive then with an account so the code
can act upon them.
 
C

carlc986

Yes, have them go to a text file instead of having to open Outlook to read
them. This is for automated testing pruposes when system level status
messages are emailed to a user, etc...
 
J

John Mayson

Yes, have them go to a text file instead of having to open Outlook to read
them. This is for automated testing pruposes when system level status
messages are emailed to a user, etc...

Right off the bat I can think of two ways.

1. Use procmail to dump the emails to file(s) as soon as they hit the
server. This would run in the background unbeknownst to the user.

2. Compile and install this http://www.five-ten-sg.com/libpst/ onto the PC
and have it store emails from the local .pst file to an mbox file which is
a text file. You would want to use a temporary, empty .pst file as this
program will convert everything.

Neither solution is particularly neat and tidy. If there's an Outlook
plug-in that does this I don't know about it.

I thought of a third way. Set up a filter in Outlook that when a system
level status message comes across it forwards to a Unix box where you can
more easily run a tool like procmail.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top