Outlook security message when my application tries to email


I have a in house application that works fine on outlook 2003 but in 2007 it gives the below attached message. Is there any way without chaning my code allow it for a single client or via GPO to all the machines.

I want some help with a solution that does not involve any 3rd party dll's or exe's or requiring me to change my code.

LVL 11
Who is Participating?
Chris BottomleyConnect With a Mentor Software Quality Lead EngineerCommented:
Still a change and to your code as such would be to use cdo:


BUt basically any solution requires a change because of the security model. so the answer is either No as stated first by Mantvydas or possible via some change to code of a greater or lesser degree.  Note if using CDO then the user will perhaps want a copy sending to their address or the server aspects encoded as directed in the link.

As far as I remember this warning screen is by design, and can't be avoided. It's for user's security so no evil program would send any email without user consent.
bsharathAuthor Commented:
There should definetly be a way
My application send emails say 100+ and during different time's. then would be tough :-(
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Chris BottomleySoftware Quality Lead EngineerCommented:
1. You can modify your code to use redemption: | http://www.dimastr.com/redemption/
2. You can use an outlook add-in i.e: | http://www.mapilab.com/outlook/security
3. Or finally you can use clickyes | http://www.contextmagic.com/

From my perspective ... if you do a lot of VBA programming then redemption is a good solution ... personally I rarely use it now.

I now use the maplab security add-in of option 2.  The first time you do something it asks if you want to continue, and if you click the always take this option it never bothers you again ... and it's free for both personal and commercial usage.

Personally I have never used clickyes but there are those who advocate so I include it for information

Alan HardistyCo-OwnerCommented:
I always use express click yes and it keeps things running happily.


I appreciate you don't particularly want an exe involved, but I don't know another way.

Alan HardistyCo-OwnerCommented:
Sorry - didn't mean to duplicate the Context Magic link - consider my comment another vote for the software : )
Chris BottomleySoftware Quality Lead EngineerCommented:
A possible alternative, (haven't tried it but I have seen many recommendations to it) but still involving code change is:


bsharathAuthor Commented:
Thank you all.

Is there any way we can reduce security or do it via GPO to allow the email without the prompt.

Its actually for a client who uses our product but does not want a revised build with any changes rather wants a siolution via client or AD/GPO
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.