Interaction between outlook and external application

M

MaxH

Hi everybody,
I know that this could not be the proper newsgroup, but I
had no answer from dotnet.general...

I'm programming an application (using Visual C# .NET) that
has to create a .zip file, open a "compose new message"
window in the default e-mail client application and
automatically attach the .zip file to the message.

Everything works perfectly if the default e-mail client is
Outlook Express (or Netscape Mail), while an error occurs
if the client is Outlook.
(I've tried Outlook2000 and Outlook2003).

After some testing I found out that the problem is related
to the automatic insertion of the attachment; if I remove
that feature (obtaining just a new empty "new message"
window) everything works also with Outlook.

Could it be that Outlook considers the commands sent by my
application as "malicious" and therefore rejects them,
producing the error?

If this is the case, is there any option that can be set
in Outlook to solve the problem?


Thank you.

Max
 
S

Steve Coan

It's very likely that you are tagged as malicious (meaning
potentially embarrassing to ms). There are several
Knowledge Base articles about malicious attachments. A
good one to start with is 318515. In working with these
before, I've found that the KB's aren't always correct on
the registry keys. You may have to experiment with
HKEY_LOCAL_MACHINE vs. HKEY_CURRENT_USER, for example.

Now, this may not be your problem, but it's worth
understanding if you're writing this kind of program.

Good luck.
 

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