Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to overcome outlock security.

Posted on 2003-03-10
Medium Priority
Last Modified: 2010-04-07


Im trying to connect into outlook from VB.6 using Outlook.Application.
evry time outlook is Generating the following msg:

"A program is trying to access e-mail addresses you have stored in outlook,
do you want to allow this?  yes,no,cancel"

Is there any way to avoid this message??
Question by:yanivnachumi

Expert Comment

ID: 8106323
I am assuming you are using Outlook from Office XP?  If so, I encountered the same problem.  We were unable to find a way to configure Outlook so it would stop doing this.  However, we did find an application called "ClickYes.exe" that was created for this exact purpose.  It is a service that runs on the machine, and whenever that particular dialog box pops up, it automatically clicks the yes button and allows the email to go out.  Without clicking yes, the dialog box will stay on the screen and no email will be sent.  Microsoft initiated this as a security feature so in case a virus infected the machine it wouldn't send out mass emails on your behalf without you being aware.  Good luck.

Accepted Solution

phildaley earned 150 total points
ID: 8106358
Must you use outlook to send the email? If not, search for a program called Blat on the internet. So long as you know your SMTP server you can send emails with this.

Expert Comment

ID: 8106783
I did it for Outlook 2000 and Exchange 5.5.
In msdn.microsoft.com search for Q263297 (this article for O2000, but I know that there is also for Outlook XP steps are the same but program you should use different).
Follow the steps with your Exchange admin. Straight forward but long steps. But may be longest step was to persuade the Exchange Admin:)

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question