Solved

Remove Outlook Security Warning from within Access

Posted on 2007-03-22
4
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 85

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 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