Solved

Remove Outlook Security Warning from within Access

Posted on 2007-03-22
4
367 Views
Last Modified: 2010-05-18
Hi all, trust you are well.

Using code such as below to send a email msg from with Access. When i do this a box pops up in Outlook saying "a program is trying to send mail blah blah" Do you want to allow this? Does anyone know of a way to turn that off as the users are hitting cancel and defeating the purpose behind the email.

Thanks
Sean
On Error GoTo UndoChange

            Set olApp = Outlook.Application
            'Create e-mail item
            Set objMail = olApp.CreateItem(olMailItem)

            With objMail
               If Not IsNull(Me.Combo16.Column(3)) Then
               .To = Me.Combo16.Column(3)
               End If
               .Subject = "Status Change: " & Forms!usrJobs!JobDescription & "-" & Me.SeqNo & " changed from being '" & Me.befStatusID & "' to '" & Me.Combo16.Column(1) & "'"
               
               .Send

            End With
0
Comment
Question by:SeanNij
4 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 125 total points
ID: 18777492
Hi SeanNij,

Use Redemption -> http://www.dimastr.com/redemption/

Regards,

Wayne
0
 
LVL 34

Assisted Solution

by:jefftwilley
jefftwilley earned 125 total points
ID: 18777506
0
 
LVL 28

Assisted Solution

by:omgang
omgang earned 125 total points
ID: 18777526
There are quite a few methods available to bypass/defeat the Outlook security feature.  A search of this forum will turn up PAQ's on most of them.  Outlook Redemption is a method that utilizes extended MAPI to bypass the security feature.  You modify your current code to utilize redemption objects instead of Outlook objects.  I have used a product from MAPILab called Advanced Security for Outlook.  It suppresses the Outlook message prompt.  Another popular software titled ClickYes simply clicks the 'Yes' button instantly as the message pops up.

The disadvantages to any of the softwares titles that somehow suppress the message is that you'll have to install it onto each users machine, i.e. 10 users = 10 licenses.  With a solution like Outlook Redemption I believe - and you need to confirm for yourself - your purchase allows you to distribute the necessary libraries as part of your application.  Additionally, the functionality to bypass the Outlook security message is built in to your code and not available to the user for all other circumstances (like if they get a virus that starts blasting 1000's of messages from their Inbox).

A search of the MS Outlook forum should also shed a lot of light on the subject for you.
OM Gang
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 125 total points
ID: 18779272
Another method is to use a 3rd party solution to handle your email situations. If all you're doing is sending mail, you can try any of a number of soultions. Here's Tony Toews page on email and Access:

http://www.granite.ab.ca/access/email.htm

I personally use the Codestone library to do this (www.codestone.co.uk). Costs about $80 US and is very simple to use. I've also used vbSendMail: http://www.freevbcode.com/ShowCode.Asp?ID=109
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 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