Outlook security warning

Outlook security warning

Post by a_l_e_ » Wed, 03 Nov 2004 20:03:55


Hi all,

I'm writing a simple VBA/Excel application using CDO. When I'm trying
to access Exchange Public Folder content (public contacts), I've got
an Outlook Warning: "A program is trying to access email addresses you
have stored in Outlook. Do you want to allow this?". And I have to
confirm an access to Outlook :/
Is there any method to avoid this message box? Why I've got Outlook
warning when I'm connecting to Exchange Server?! I'm creating a new
session, like this:

Dim oSession As Session
Dim sProfileInfo As String

Set oSession = New Session
sProfileInfo = EXCHANGE_SERVER_NAME + vbLf + EXCHANGE_MAILBOX_NAME

oSession.Logon "", "", False, True, 0, True, sProfileInfo

So I thought that I'm connected to remote Exchange, not local
Outlook...

Another strange thing is that when I'm trying to run my conde on
Exchange server machine everything goes fine and I'm not getting this
dummy Outlook security message.

Thanks for any help and advice,
alef0
 
 
 

1. outlook security warning

2. Outlook security warning - MAPI?

As I recall there is no way to stop the warning messages because Outlook
cannot distinguish between a friendly program and a virus.

If functionality permits, you can reduce the number of popups if you avoid
using certain methods. For example you can provide a string for the "TO"
field instead of creating a Recipient; and instead of sending the message
you can save it in the Drafts folder and send it manually.

The COM objects bypass Outlook and use SMTP.

3. Q: Outlook security warning - MAPI?

4. Suppressing Outlook's security warning about object model acce

5. Suppressing Outlook's security warning about object model access

6. Outlook Security Warning

7. outlook security warning

8. filemaker and outlook security warnings

9. Outlook Security Warning

10. MailMerge and Outlook Security Warning

11. Outlook Security Warning

12. Outlook security warning from Send Object hidden in XP

13. How do I disable Outlook's Security Warning when I open jpgs?

14. Avoid outlook security warning message.

15. Outlook Security Warnings