I had noticed that MarkD had shown a way to determine which Mail Server resides on the PC. I cannot to find it.
What I want to do is to test what Mail Server resides on the PC the user is operating on, either OutLook or Lotus Notes.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Mail Server (Access XP)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Mail Server (Access XP)
- This topic has 10 replies, 3 voices, and was last updated 20 years, 9 months ago.
AuthorTopicViewing 1 reply threadAuthorReplies-
WSMarkD
AskWoody LoungerJuly 19, 2004 at 5:54 pm #853227Do you which email client (or clients) resides on user’s system? Don’t think many users have an email server residing on system. Unless you mean an application like Outlook that can function as an Automation “server” (ie, send messages from another application like Access). Anyway, my previous post:
Re: Mail via Lotus Notes (Access 2000/xp)
addressed issue of determining the default email client on a given system. It should be noted (eluded me at time) that in Windows XP, the default email client may be set on a per-user basis; this was not provided for in earlier versions of Windows. See MSKB 297878:
How to Register an Internet Browser or E-mail Client With the Windows XP Start Menu
Brief quote: “Windows XP also extends the existing definition of mail clients to permit registration on a per-user basis. On previous versions of Windows, the default mail client is a system-wide setting.” And: “NOTE: The default installation of Windows XP does not register a per-user default Internet or e-mail program, only a system-wide default.” So if you are trying to determine default email client on WIN XP system, you need to take this into account. My recommendation would be, first test HKCU, if key not found, then test HKLM. MSKB article also notes:
“Underneath [HKLMSoftwareClientsMail] may be zero or more subkeys, one for each registered email application. For
example, a hypothetical system might have:[HKLMSoftwareClientsMailEudora]
[HKLMSoftwareClientsMailOutlook Express]
[HKLMSoftwareClientsMailHotMail]”You can use Windows RegEnumKey API function to enumerate the subkeys under a given key. See attached text file for sample code. The TestGetMailClientSubkeys() sub will return the HKLMSoftwareClientsMail subkeys as a delimited text string (or as an array). This can be used to determine if Lotus Notes is installed on target PC. For this purpose you should only need to test HKLM keys. Test results (work system):
‘ text string:
Hotmail;Microsoft Outlook;Outlook Express‘ array:
0 Hotmail
1 Microsoft Outlook
2 Outlook ExpressYou’d have to test on system with Lotus Notes installed to determine correct test string for Lotus.
HTH
-
WSpatt
AskWoody Lounger -
WSMarkD
AskWoody LoungerJuly 19, 2004 at 11:11 pm #853399PS – Here is modified version of text file previously posted (exported code module) – includes several addition functions for retrieving info from Registry. Includes GetDefaultMailClient() function to simplify getting the default email client on user’s system – will work in Windows XP or earlier (if no user-specified default found, checks system settings). For example on my home pc (Win XP) do not have user-specific default specified – function test results:
? GetDefaultMailClient
Outlook ExpressThis may be useful if you need to know the default client. Use TestGetMailClientSubkeys() as noted previously to get list of all installed email clients on local machine.
HTH
-
WSMarkD
AskWoody LoungerJuly 19, 2004 at 11:11 pm #853400PS – Here is modified version of text file previously posted (exported code module) – includes several addition functions for retrieving info from Registry. Includes GetDefaultMailClient() function to simplify getting the default email client on user’s system – will work in Windows XP or earlier (if no user-specified default found, checks system settings). For example on my home pc (Win XP) do not have user-specific default specified – function test results:
? GetDefaultMailClient
Outlook ExpressThis may be useful if you need to know the default client. Use TestGetMailClientSubkeys() as noted previously to get list of all installed email clients on local machine.
HTH
-
-
WSpatt
AskWoody Lounger
-
-
WSMarkD
AskWoody LoungerJuly 19, 2004 at 5:54 pm #853228Do you which email client (or clients) resides on user’s system? Don’t think many users have an email server residing on system. Unless you mean an application like Outlook that can function as an Automation “server” (ie, send messages from another application like Access). Anyway, my previous post:
Re: Mail via Lotus Notes (Access 2000/xp)
addressed issue of determining the default email client on a given system. It should be noted (eluded me at time) that in Windows XP, the default email client may be set on a per-user basis; this was not provided for in earlier versions of Windows. See MSKB 297878:
How to Register an Internet Browser or E-mail Client With the Windows XP Start Menu
Brief quote: “Windows XP also extends the existing definition of mail clients to permit registration on a per-user basis. On previous versions of Windows, the default mail client is a system-wide setting.” And: “NOTE: The default installation of Windows XP does not register a per-user default Internet or e-mail program, only a system-wide default.” So if you are trying to determine default email client on WIN XP system, you need to take this into account. My recommendation would be, first test HKCU, if key not found, then test HKLM. MSKB article also notes:
“Underneath [HKLMSoftwareClientsMail] may be zero or more subkeys, one for each registered email application. For
example, a hypothetical system might have:[HKLMSoftwareClientsMailEudora]
[HKLMSoftwareClientsMailOutlook Express]
[HKLMSoftwareClientsMailHotMail]”You can use Windows RegEnumKey API function to enumerate the subkeys under a given key. See attached text file for sample code. The TestGetMailClientSubkeys() sub will return the HKLMSoftwareClientsMail subkeys as a delimited text string (or as an array). This can be used to determine if Lotus Notes is installed on target PC. For this purpose you should only need to test HKLM keys. Test results (work system):
‘ text string:
Hotmail;Microsoft Outlook;Outlook Express‘ array:
0 Hotmail
1 Microsoft Outlook
2 Outlook ExpressYou’d have to test on system with Lotus Notes installed to determine correct test string for Lotus.
HTH
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
-
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
19 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
9 hours, 20 minutes ago -
AI slop
by
Susan Bradley
8 hours, 30 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
10 hours, 36 minutes ago -
Two blank icons
by
CR2
17 hours, 6 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
19 hours, 30 minutes ago -
End of 10
by
Alex5723
22 hours, 11 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
22 hours, 40 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
19 hours, 9 minutes ago -
test post
by
gtd12345
1 day, 4 hours ago -
Privacy and the Real ID
by
Susan Bradley
18 hours, 19 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
10 hours, 25 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 8 hours ago -
Upgrading from Win 10
by
WSjcgc50
9 hours, 55 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
2 hours, 7 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 11 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 2 hours ago -
Are manuals extinct?
by
Susan Bradley
13 hours, 39 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 11 hours ago -
Network Issue
by
Casey H
1 day, 22 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 23 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 23 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 1 hour ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 2 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 3 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 3 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 11 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
3 hours, 8 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 22 hours ago
Recent blog posts
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.