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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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
Course of the Month13 days, 13 hours left to enroll

801 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