From Access VBA, is there a way to send e-mail using Outlook that doesn’t throw those prompts about “An application is attempting to use Outlook”? I believe this was a security patch some time ago. I’ve been tasked with assisting some users with former employee’s Access databases. Without lots of rewriting or switching to jmail, it like to get around this issue.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Send e-mail without security alert? (Access 2003/O
Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Send e-mail without security alert? (Access 2003/O
- This topic has 8 replies, 4 voices, and was last updated 18 years, 5 months ago.
Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody LoungerAugust 2, 2006 at 3:42 pm #1022992See post 317048 for some ways to suppress the warning “A program is attempting to …”. The free utility ClickYes is the simplest to use.
-
WSVBNerd
AskWoody Lounger
-
Andrew Lockton
AskWoody_MVPAugust 3, 2006 at 6:23 am #1023028You could send an email through the smtp and bypass outlook completely…
Sub SendSMTPMail() '// Send SMTP Mail messsage Const cdoSendUsingMethod = "http://schemas.microsoft.com/cdo/configuration/sendusing", _ cdoSendUsingPort = 2, _ cdoSMTPServer = "http://schemas.microsoft.com/cdo/configuration/smtpserver" Dim iMsg, iConf, Flds Dim sMsg As String, sRetAddress As String sRetAddress = "me@home.com" '// Create the CDO connections. Set iMsg = CreateObject("CDO.Message") Set iConf = CreateObject("CDO.Configuration") Set Flds = iConf.Fields '// SMTP server configuration. With Flds .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "SMTPServerName" ' "" .Update End With '// Set the message properties and send With iMsg Set .Configuration = iConf .To = "you@home.com" .CC = sRetAddress .FROM = sRetAddress .Subject = "Request to obtain quote" .TextBody = "Can you please seek a quote for the following item." & _ vbCr & vbCr & sMsg '.AddAttachment Attachment '// An attachment can be included if wanted .Send ' send the message. End With End Sub
-
WSVBNerd
AskWoody Lounger -
Andrew Lockton
AskWoody_MVPAugust 4, 2006 at 12:29 am #1023219I don’t believe so (but you are getting into a grey area for me). It certainly works for us on our standard desktop setup without anything special (and through Citrix) and I would be surprised if IIS was ever installed on our standard-build PCs.
This link states that ‘CDONTS installs with various Microsoft software products, and you can find it on most systems’
-
WSfdonahoe
AskWoody LoungerOctober 18, 2006 at 2:38 pm #1034139I’ve just started to use CDO to send a group of emails from Access. I get a compile error on my CreateObject line. I added the reference Microsoft CDO for Windows 2000 Library. Is there some other reference that needs to be added? i didn’t see any other CDO related ones.
The compile error I get is “Object required”. My line looks like this:
Set objMessage = CreateObject(“CDO.Message”)I’ve tried dimensioning objMessage as string. There really is no other type that shows up that looks like it would apply.
Also, I’ve seen references in posts to CDOnuts (??) or something like that. Is that different?Any ideas? Thanks.
-
WSfdonahoe
AskWoody Lounger -
Andrew Lockton
AskWoody_MVP
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Where is Windows going?
by
Susan Bradley
41 minutes ago -
Does anyone know how can we convert OST to Office 365? (Awaiting moderation)
by
Sanchit Tandon
3 hours, 7 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
16 hours, 52 minutes ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
17 hours, 16 minutes ago -
Windows 11 Hotpatch
by
Hackmuss
33 minutes ago -
System Guard service error still won’t be fixed
by
Susan Bradley
17 hours, 54 minutes ago -
Operation ForumTroll: APT attack with Google Chrome zero-day exploit chain
by
Alex5723
12 hours, 6 minutes ago -
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
9 hours, 6 minutes ago -
Microsoft Windows security auditing Code 5061
by
mpw
1 day, 6 hours ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
14 hours, 3 minutes ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
15 hours, 31 minutes ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
15 hours ago -
Select multiple emails and they all open up!
by
CeeJay
2 days, 7 hours ago -
How to remove an update preview
by
Gunny
10 hours, 25 minutes ago -
Third party add ins reminder
by
Susan Bradley
6 hours ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
2 days, 12 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
2 days, 13 hours ago -
Check out the home page for Signal
by
CAS
2 days, 11 hours ago -
Windows 11 and Trial version of MS Office
by
Tex265
2 days, 10 hours ago -
Windows 11 Insider Preview build 26120.3585 (24H2) released to BETA
by
joep517
2 days, 18 hours ago -
Windows 11 Insider Preview build 26200.5510 released to DEV
by
joep517
2 days, 18 hours ago -
Windows 11 Insider Preview Build 26100.3624 (24H2) released to Release Preview
by
joep517
2 days, 18 hours ago -
Limits on User Names
by
CWBillow
2 days, 15 hours ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
15 hours, 6 minutes ago -
Non Apple Keyboards
by
pmcjr6142
16 hours, 22 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
2 days, 13 hours ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
2 days, 10 hours ago -
Error updating to Win11 0x8024a205
by
bmeacham
10 hours, 25 minutes ago -
default apps
by
chasfinn
1 day, 18 hours ago
Recent blog posts
- Where is Windows going?
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.