Solved

Remove Outlook Security Warning from within Access

Posted on 2007-03-22
4
362 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now