A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Allow access to address book



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 27th 07, 05:14 PM posted to microsoft.public.outlook
DSPettit
external usenet poster
 
Posts: 3
Default Allow access to address book

Using VBA in Outlook 2000, I have a simple subroutine set up to send an
e-mail on certain events. When the code gets to the "JulieMsg.Send" line,
Outlook will prompt the user "A program is trying to access e-mail addresses
you have stored in Outlook. Do you want to allow this?" The user has to
allow this action to happen. I really need to automate this feature so that
it doesn't require user intervention. Is there any way to do this with the
code, or with some option settings within Outlook?

The code is as follows:

Sub HighPriorityNotify()

Dim JulieMsg As MailItem
Dim JulieRecip As Recipient

Set JulieMsg = Outlook.Application.CreateItem(olMailItem)

With JulieMsg
Set JulieRecip = .Recipients.Add("John Doe e-page")
JulieRecip.Type = olTo
.Subject = "JULIE - HIGH PRIORITY"

For Each JulieRecip In .Recipients
JulieRecip.Resolve
Next

JulieMsg.Send

End With

Set JulieMsg = Nothing

End Sub

Thanks,
Doug


  #2  
Old April 27th 07, 04:41 PM posted to microsoft.public.outlook
Christian Goeller
external usenet poster
 
Posts: 164
Default Allow access to address book

DSPettit, you wrote on Fri, 27 Apr 2007 09:14:57 -0600:

"A program is trying to access e-mail addresses you have stored in
Outlook. Do you want to allow this?"


http://www.mapilab.com/outlook/security/

--
Best Regards
Christian Goeller
http://www.outlookfaq.net
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating address book from Access Phil Stanton Outlook - Using Contacts 1 December 8th 06 06:31 PM
Can't access contacts/address book alanbl Outlook - Using Contacts 3 December 6th 06 02:57 PM
Access to the Address book through VBA? Morten Pahle Outlook - Using Contacts 1 July 17th 06 04:07 PM
A program is trying to access your address Book whylite Outlook - Using Forms 4 July 13th 06 03:05 AM
how to access address book from any of 3 identities Stan Blaylock Outlook - Using Contacts 4 January 23rd 06 02:04 PM


All times are GMT +1. The time now is 09:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.