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
Solved

Send email from MS Access macro

Posted on 2016-10-26
7
51 Views
Last Modified: 2016-11-10
I would like to send a confirmation email when a macro is run. The macro is run automatically via a script and it run unattended.

In my testing I am able to send an email via Outlook from the macro, however it requires an answer to a deny or allow prompt.  How can I get the email sent without manual intervention?
0
Comment
Question by:motherm
7 Comments
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 41860798
I use a third party application called vbMAPI.  Don't remember how much it cost, but it was reasonable.  There is also the CDO method, but I've never used it.
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 41860954
I've used Outlook Redemption with much success to eliminate that problem.

http://www.dimastr.com/redemption/download.htm

ET
0
 

Author Comment

by:motherm
ID: 41860998
Is there any way to send email from access without a third party?  My employer will not support any downloads or additional apps.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 19

Accepted Solution

by:
Eric Sherman earned 500 total points
ID: 41861052
<<<Is there any way to send email from access without a third party?  My employer will not support any downloads or additional apps.>>>

When I dealt with this issue a while back ... Outlook will not let you dump emails into it without flagging each one ... It thinks this is SPAM.  Therefore, your options or to use a third party application, CDO Method or the Outlook Redemption option to bypass the security prompt.

ET
0
 
LVL 6

Expert Comment

by:efrimpol
ID: 41861189
Free for commercial or non-commercial use.

https://www.mapilab.com/outlook/security/
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 41863922
The obnoxious Object Model Guardian appears to have been revived with a recent update.  See my article on using the Redemption Library to avoid it.
accarch113.zip
0
 

Author Closing Comment

by:motherm
ID: 41882663
Thank you for the solution.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

856 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