![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |