c# - How do I set standard email client in Windows 7 using .NET -


i set standard email client in windows 7 .net code, how do it?

you need edit following registry value. following registry.setvalue method.

registry.setvalue(@"hkey_classes_root\mailto\shell\open\command", "", "\"c:\\progra~2\\micros~1\\office14\\outlook.exe\" -c ipm.note /m \"%1\""); 

reference:
http://msdn.microsoft.com/en-us/library/3dwk5axy.aspx


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -