Click to See Complete Forum and Search --> : Accessing email in Outlook without notification


weiss
September 17th, 2003, 02:48 AM
Hello,

When I try to read (through code) the content of an email in the Inbox a screen notifying that someone is accessing the email and ask for permission.
How do I avoid this screen ?????????????????
How can I read or send mail without having the screen pop up????????????????


Any comment, link or suggestion will be appreciated!

RobAnd
September 18th, 2003, 12:44 AM
My guess is that you are using the Outlook Object Model to access Outlook and email. To answer your question very simply, you can't stop that dialog box. That dialog box was specifically added to prevent people from accessing the email "undetected". If you could do it, that means other applications (including viruses) could do it as well. That defeats the purpose of why it was added in the first place.

If you want to access email on an Exchange server you should have a look at the CDO libraries or MAPI. This would avoid the pop-up because it bypasses Outlook and talks directly to Exchange (or the email server).

- Robert