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
-
April 2025 Office non-Security updates
by
PKCano
6 hours, 15 minutes ago -
Microsoft wants to hear from you
by
Will Fastie
7 hours, 26 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
9 hours, 47 minutes ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
15 hours, 18 minutes ago -
Test post
by
Susan Bradley
17 hours, 32 minutes ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
19 hours, 13 minutes ago -
SSD shuts down on its own
by
CWBillow
10 hours, 37 minutes ago -
OneDrive File Sharing Changes
by
David Clark
1 day, 3 hours ago -
OneDrive File Sharing Changes
by
David Clark
1 day, 5 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
5 hours, 24 minutes ago -
Today is world backup day
by
Alex5723
20 hours, 57 minutes ago -
Windows .exe on Mint
by
Slowpoke47
1 day, 6 hours ago -
Reviewing your licensing options
by
Susan Bradley
16 hours, 38 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
2 hours, 10 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
9 hours, 57 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
17 hours, 11 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
1 day, 3 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
1 day ago -
YouTube Ad Blocker Blocker
by
bbearren
1 day, 1 hour ago -
Obscure historical facts about Windows
by
Cybertooth
1 day, 2 hours ago -
Microsoft Backup
by
Linda2019
18 hours, 30 minutes ago -
What is the best notepad++ version for W7?
by
Picky
1 day, 2 hours ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
2 days, 11 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
2 days, 11 hours ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
3 days, 6 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
3 days, 6 hours ago -
Microsoft vs Passwords
by
Alex5723
14 hours, 23 minutes ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
3 days, 10 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
3 days, 10 hours ago -
Two March KB5053606 updates?
by
Adam
3 days, 4 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
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.