How to get rid of a dialog box

G

Guest

I am using Outlook 2003 and I wrote a little program under the
Application_ItemSend event so that when I send out a certain email message, a
copy of the email message will also be sent to another email address. This
works fine for me, but after I installed the same program for another person
who is using Outlook 2002, a dialog box kept popping up to ask if he wanted
to allow the code to access the mailbox. Is this something specific for
Outlook 2002? Can I get rid of the dialog box?

RJ
 
S

Sue Mosher [MVP-Outlook]

Not without rewriting your code or using a third-party tool. See http://www.outlookcode.com/d/sec.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Thanks for the reply. I guess the problem occurs because I am adding an email
address to Item.BCC.

You mention rewriting my code. How would I send a copy of a message to
another mailbox without triggering the dialog box?

RJ
 
S

Sue Mosher [MVP-Outlook]

The page I suggested covers code solutions.

If you never manually add a Bcc recipient, you could simply set the Bcc property of the outgoing itme.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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