Advice needed on saving MSG Files into the data structure?

K

Kristy

Hi

I have a few questions re MSG files that I hope someone can help me
with. I am using exchange 5.5.

I need to file emails outside of exchange into a predetermined file
structure as .MSG files. This is all fine but there are a few other
things that I need help/advice with.

1. I need to stop duplicate emails being filed into the same folder.
This happens frequently as often the recipients of a distribution list
will all file the same email to the same 'project' directory. I
thought that I'd use PR_INTERNET_MESSAGE_ID to identify the items and
if they are already exist then delete the duplicate. When using
public folders I can iterate through each item and read this
property... but what is the best/most reliable/fastest way to do this
when looking at mgs files in a directory folder?

2. After I've saved a msg file, if I try to open that file (double
click) and Outlook is closed (no explorer) then Outlook crashes. This
only happens when a com add-in is set to load on startup. I have
tried to debug the addin to see why it happens but the on connection
event doesn't fire before the crash occurs. After I use end task to
shut down Outlook, I get the on connection firing for my addin... it's
like there are 2 occurences of Outlook firing and this causes the
confusion... has anyone experienced this before? I thought that it
might just be my addin so I loaded a fresh copy of the itemscb
(untouched by me!) and had the same results?

Thanks

Kristy
 

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