问题描述
Hello World,
在我们公司中,我们使用处理电子邮件的应用程序.
现在,如果人们单击网页上的mailto链接,则会打开默认的电子邮件客户端(Outlook,Firebirtd等).
是否可以使用C#代码更改默认的电子邮件客户端(在程序安装或启动过程中),以便我们的电子邮件程序打开?
我已经存档以处理诸如eml之类的相关文件关联,以使用我们的程序,但是mailto的东西仍然困扰着我;)
任何帮助,感激不尽,
最好的问候
Andy
Hello World,
in our company we use an application that handles emails.
Now if people click mailto links on a webpage the default email client opens (Outlook, Firebirtd, etc.).
Is there a way to change the default email client using C# code (during install or startup of the program) so that our email program opens?
I already archived to handle related file associations like eml to use our program, but the mailto stuff is still bugging me ;)
Any help is kindly appreciated,
best regards
Andy
推荐答案
HKEY_CLASSES_ROOT\mailto\shell\open\command
您可以将其更改为自己的程序.
Which you can change to your own program.
这篇关于如何使用C#更改默认电子邮件客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!