Jump to content

HELP: Determine default E-Mail Client


Recommended Posts

I need a way to determine what the default E-Mail clinet is for the logged in user so that I can add to an existing VBscript that backs up the users My Documents folder.

We want to add the ability to backup the usrs email without relying on them to select the correct application or folders.

Link to comment
Share on other sites


The only logical method I can think of is to manipulate the result of:

Set oShell = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
sRegValue = "HKCU\Software\Classes\mailto\shell\open\command\"
RegRead = oShell.RegRead(sRegValue)
WScript.Echo RegRead

I say manipulate because I don't know if the result will always use quotes, always have switches or always use one or more parameters.

Link to comment
Share on other sites

Well I knew that would have been too easy.

Unfortunately that key doesn't exist on any of the three machines I checked for any of 4 different users and 3 different mail clients. Outlook 2007, Eudora 6.2.1 and Thunderbird 2.0.0.14.

In case you missed a subkey I did a search on mailto in he HKCU key and it is not found.

Any other suggestions?

Link to comment
Share on other sites

or HKLM\SOFTWARE\Classes\mailto\shell\open\command\

It's probably my fault, I possibly only have the CU keys because I used a freeware utility to set them on an individual basis due to my fascination with uncommon applications!

Link to comment
Share on other sites

Looks like either of those should work. Leave it to microsoft to let the last person logged on to email be the one to select the default email client for everyone on the system.

This is going to be a pain in the a**.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...