Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the default mail client
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125623
Message ID:
00126223
Views:
21
Gary,

Here's something else that came up in another thread. Look for this key: HKEY_CLASSES_ROOT\mailto\shell\open\command that should give you the default email client. It at least points to the right place with OE set as the default email client on my machine. You'd have to check if Netscape setups up that key but it should because mailto: is what drives clickable email links on web pages.

>I'd like to pull the default mail client name and path to the executable from the registry ( or wherever i can get it ).
>
>So far i've found
>HKEY_LOCAL_MACHINE\Software\Clients\Mail = "Outlook Express"
>
>and
>HKEY_LOCAL_MACHINE\Software\Clients\Mail\Outlook Express\Shell\Open\Command = "C:\PROGRAM FILES\OUTLOOK EXPRESS\MSIMN.EXE" /mail
>
>It runs the outlook client ok but want to make sure i'm looking at the correct thing.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform