We help IT Professionals succeed at work.

how to read &set defaut email client for window

eakkung
eakkung asked
on
hi all,
   i have question about how to read what 's default email
client and set new default email client to the other program
such as ms-outlook,eudora..

  Please advise me to do this

thank in advance
Comment
Watch Question

CERTIFIED EXPERT
Author of the Year 2009

Commented:
By defualt eamil client, do you mean the program that appears when you click on a link such as

<A HREF='sendto:joe@aol.com'>Send me some spam today!</A>

If so, there is a bunch of related info here:

How to Change Default Mail Client for Internet Explorer (Q154359)
http://support.microsoft.com/support/kb/articles/Q154/3/59.asp

This also describes the relevant registry locations.

You can manually change it by using the Explorer menu:

  Tools, Folder Options,
  File Types, N/A URL:MailTo, Advanced

-- Dan

Author

Commented:
OOp sorry, that I didn't give you more information.
I would like to set default client email from my application(add source code to my program).

Thank you in advance
CERTIFIED EXPERT
Author of the Year 2009
Commented:
I don't recommend it, but you can change the settings in the registry.  The key is:

HKEY_CLASSES_ROOT\mailto\shell\open\command

On my computer the value is
REG_EXPAND_SZ
"%ProgramFiles%\Outlook Express\msimn.exe" /mailurl:%1

I suppose that you could replace that value with some other program to be launched.

-- Dan

Author

Commented:
umm. I think so it 's not good solution to do, I saw some program such as Opera  can set it to default browser for machine , so I think it should be funcion or lib can set it.

Do you agree with me?  :) but I will try to looking for in the other way  thank for your help

Explore More ContentExplore courses, solutions, and other research materials related to this topic.