Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outlook security

Is there any other way to get rid of this outlook security message? "A program is trying to automatically send e-mail on your behalf ... and so on" and it gives me an option to select Yes , No & Help.

Im currently developing an outlook automation app using Ms Access. Everytime I issue Send command this message popups, I tried using SendKeys "%s" but it does not work in Access 2007.

Is there any alternative solution for this? Thanks!!

like image 824
Arnold Avatar asked Jan 24 '23 04:01

Arnold


2 Answers

You may wish to consider Outlook Redemption

From the blurb:

Outlook Redemption works around limitations imposed by the Outlook Security Patch and Service Pack 2 of MS Office 98/2000 and Office 2002/2003/2007 (which include Security Patch) plus provides a number of objects and functions to work with properties and functionality not exposed through the Outlook object model.

like image 169
Fionnuala Avatar answered Jan 29 '23 15:01

Fionnuala


Microsoft doesn't want scripts to be able to send email without the user's consent. According to KB 263084, you can do one of the following (which avoid the scriptable interface or configure the system to supress the message):

  • change some Exchange Server settings
  • use CDO
  • Use Extended MAPI
  • use a COM add-in

I don't think any of the programming solutions is particularly simple, and applying changes to Exchange might not be a solution for you (especially if your application is supposed to work with Outlook clients that aren't in an Exchange environment, of course).

like image 23
Michael Burr Avatar answered Jan 29 '23 16:01

Michael Burr