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
-
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
2 hours, 28 minutes ago -
Microsoft Windows security auditing Code 5061
by
mpw
7 hours, 41 minutes ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
10 minutes ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
7 hours, 51 minutes ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
8 hours, 52 minutes ago -
Select multiple emails and they all open up!
by
CeeJay
1 day ago -
How to remove an update preview
by
Gunny
5 hours, 41 minutes ago -
Third party add ins reminder
by
Susan Bradley
4 hours, 39 minutes ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
18 hours, 39 minutes ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
1 day, 5 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
1 day, 7 hours ago -
Check out the home page for Signal
by
CAS
1 day, 5 hours ago -
Windows 11 and Trial version of MS Office
by
Tex265
1 day, 4 hours ago -
Windows 11 Insider Preview build 26120.3585 (24H2) released to BETA
by
joep517
1 day, 11 hours ago -
Windows 11 Insider Preview build 26200.5510 released to DEV
by
joep517
1 day, 11 hours ago -
Windows 11 Insider Preview Build 26100.3624 (24H2) released to Release Preview
by
joep517
1 day, 11 hours ago -
Limits on User Names
by
CWBillow
1 day, 8 hours ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
48 minutes ago -
Non Apple Keyboards
by
pmcjr6142
9 hours, 6 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
1 day, 6 hours ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
1 day, 4 hours ago -
Error updating to Win11 0x8024a205
by
bmeacham
2 days, 5 hours ago -
default apps
by
chasfinn
11 hours, 32 minutes ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
2 days, 13 hours ago -
Adding links to text in Word 2000
by
sgeneris
1 day, 10 hours ago -
FBI warnings are true—fake file converters do push malware
by
Nibbled To Death By Ducks
2 days, 7 hours ago -
Classic and Extended Control Panel — no need to say goodbye
by
Deanna McElveen
6 hours, 46 minutes ago -
Things you can do in 2025 that you couldn’t do in 2024
by
Max Stul Oppenheimer
2 days, 18 hours ago -
Revisiting Windows 11’s File Explorer
by
Will Fastie
2 days, 3 hours ago -
Planning ahead for migration
by
Susan Bradley
1 day, 3 hours ago
Recent blog posts
- 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
- Woody Leonhard (1951–2025)
- What I learned from Woody Leonhard
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.