Link to home
Start Free TrialLog in
Avatar of staarship
staarship

asked on

how to bypass the allow deny message in Microsoft Outlook while sending mail through another application

How to bypass the allow deny message in Microsoft Outlook while sending mail through another application (eg. a visual basic application.. )
1.JPG
Avatar of GundogTrainer
GundogTrainer

You could look at using the "Outlook Redemption" objects or Security Manager from Add-in Express.
An alternative method would be to not use Outlook to send the messages but use CDO instead.

also there is a method using the Outlook Admin Pack
https://www.experts-exchange.com/questions/20652766/A-program-is-trying-to-access-email-addresses.html
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of staarship

ASKER

Thanks for the solutions.. but i am not getting how to use the mapilab.. i am able to see the Advance security option in the Tools menu but not getting how to use it.. also went through the help..
I found the only solution to thgis very same problem for me was the use of the program "ClickYesPro"
You can look into the program features by vising: www.contextmagic.com

ClickYes Pro is an Outlook add-in add-in which is loaded by Outlook and then bypasses
prompts for Outlook itself. Unfortuinately his add-in doesn't provide any other automation
or programming interfaces (such as DLL for example) so you cannot code it directly to run but must make a "shell" call via your program.
I tried all the others suggested above but none were successful in what I wanted to do (which is exactly what you want to do).

A segment of some code I use is showing below.

I hope this helps you to the best solution.

Public Sub cmdProcess_Click()
Dim cRunProg As String

''Make sure access to appoint book is allowed.
''The "ClickYes" program is supposed to come into effect here
''and wait for the pop-up box to appear.
cRunProg = "C:\Program Files\ClickYes Pro\ClickYesPro.exe"
Shell cRunProg ', vbMinimizedNoFocus

Open in new window

Staarship, have you investigated my option?

If you have, where does this question now stand? Are you closing and awarding points or shat decision have you made?

Cheers.
Solved..
Patrick,

re the MAPILab product, does this product work when you use the SendObject method, or did you have to use automation for it to work.

I downloaded and installed the product, but when I ran my application, which uses SendObject, I got the normal Outlook Security Warning.

Dale