views:

221

answers:

5
+1  Q: 

Outlook security

Hi to Everyone!!

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!!

A: 

Found this link by just googling your outlook nag message, looks like it should solve your problem

Kimvais
Thanks Kimvais for the link. But looks like a third party utility or something.. Is there any MS Access commands/functions that i could use to solve this problem?
Arnold
No! there is no MS Access command\function to solve the problem!
Philippe Grondier
A: 

You can avoid this by relaying the message directly to an SMTP server, rather than using Outlook to relay the message. The security warning is there to stop people like you from sending messages from my account without my knowledge. Although you have good intentions, what you are writing is essentially virus-like (imagine if you could do this without the security prompt - spam-heaven!)

Sohnee
But if you go direct to SMTP, your Outlook sent mail folder won't include a copy of the message.
David-W-Fenton
Exactly - we don't want applications or scripts to mess with our stuff. Imagine the possibilities that would exist if they allowed this type of script.
Sohnee
+1  A: 

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).

Michael Burr
Changing Exchange settings is not an option, of course, in a standalone Access scenario (i.e., not running as an Exchange client).
David-W-Fenton
CDO won't put a copy of the message in your Outlook sent messages folder. And extended MAPI is pretty difficult because of the way Microsoft patches the MAPI DLL -- there are some Outlook installations where it can never be used (usually where there are other email programs installed that install their own version of the MAPI DLL). I use Outlook Redemption and think it's just fine.
David-W-Fenton
I agree that these options aren't great and certainly not simple. I'm not familiar with Outlook Redemption, but took a quick look at the website - it looks like a potentially very nice option (it appears that it avoids the security message by essentially being a wrapper around Extended MAPI).
Michael Burr
+4  A: 

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.

Remou
A: 

Here is some freeware (clickyes) that I use. http://www.snapfiles.com/get/clickyes.html

gerard