471,306 Members | 1,306 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

reading a pst with C#

Not sure where I should be posting this question but...

I want to loop through all the messages in a pst file and forward them to
another address. My purpose is first to test a spam filtering solution,
then to train a baysian filter.

I would like to use C# but am finding that .net/mapi don't play well
together. Can someone point me in the right direction?
thanks, bob
Feb 14 '06 #1
7 2049
I believe you'll have to use the Outlook COM interface. You may want to ask
about this on an Outlook newsgroup.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
"Bob Weiner" <bo*@engr.uconn.edu> wrote in message
news:Oq*************@TK2MSFTNGP15.phx.gbl...
Not sure where I should be posting this question but...

I want to loop through all the messages in a pst file and forward them to
another address. My purpose is first to test a spam filtering solution,
then to train a baysian filter.

I would like to use C# but am finding that .net/mapi don't play well
together. Can someone point me in the right direction?
thanks, bob

Feb 14 '06 #2
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ux****************@TK2MSFTNGP15.phx.gbl...
I believe you'll have to use the Outlook COM interface.


Yes - I think that's the only way... I don't know of anything other than
that which understands the .pst file format...
Feb 14 '06 #3
Or you can wait for WinFS and then wait for the Outlook team to move
their store from .pst to the WinFS database.... :)

Feb 14 '06 #4
What about Visual Studio Tools for Office 2005? It has plug-in ability
for Outlook. The latest MSDN magazine has an article and sample
application.

Sean

Feb 14 '06 #5
You're right, Sean. I'm pretty sure it's a wrapper for the Outlook COM
object, but it's still bound to be much easier to use.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
<sd*****@cornercap.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
What about Visual Studio Tools for Office 2005? It has plug-in ability
for Outlook. The latest MSDN magazine has an article and sample
application.

Sean

Feb 14 '06 #6
Thanks all.

I was hoping that there would be a quick method. I will look into VS Tools
for Office 2005 for future use.
What ever happened to banging out a fast perl script :-(

bob
"Bob Weiner" <bo*@engr.uconn.edu> wrote in message
news:Oq*************@TK2MSFTNGP15.phx.gbl...
Not sure where I should be posting this question but...

I want to loop through all the messages in a pst file and forward them to
another address. My purpose is first to test a spam filtering solution,
then to train a baysian filter.

I would like to use C# but am finding that .net/mapi don't play well
together. Can someone point me in the right direction?
thanks, bob

Feb 14 '06 #7
VSTO is Microsoft's "new direction" on how to interact with Outlook,
Excel, and Word. It's much friendlier than older ways of interacting
with these products, although I can't vouch for its stability. I would
say that if it's an option to use VSTO, then use it.

Feb 14 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andy | last post: by
6 posts views Thread by Raymond Hettinger | last post: by
4 posts views Thread by Xah Lee | last post: by
24 posts views Thread by Hendrik Schober | last post: by
19 posts views Thread by Lionel B | last post: by
4 posts views Thread by Oliver Knoll | last post: by
6 posts views Thread by KevinD | last post: by
9 posts views Thread by Mike Reed | last post: by
4 posts views Thread by Gaijinco | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.