默认客户端电子邮件程序 [英] Default client Email Program

查看:107
本文介绍了默认客户端电子邮件程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
除Mailto和MAPI之外,默认客户端电子邮件程序在asp.net c#中是否还有其他方法或解决方案.

注意:邮件至附件"功能不起作用,因此无法使用邮件至.

当然,在我的代码后面使用MAPI代码时,它当然不能在客户端上运行

Hi All,
Is there any other way or solution in asp.net c# for default client email program other than Mailto and MAPI.

Note: In MailTo Attachment feature is not working so I cannot use MailTo.

While using MAPI code in my code behind so of course it won''t work on a client
machine when deployed in IIS.

推荐答案

要为计算机上的所有用户关联程序,请将HKEY_CLASSES_ROOT\mailto\shell\open\command默认值更改为:
"Your program''s executable" "%1"

要将程序与当前用户关联,请将HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command默认值更改为:
"Your program''s executable" "%1"

%1替换为mailto语法中的电子邮件,例如spam@example.com

还是说不能使用mailto时要表达的意思?


如何在Windows XP中以编程方式修改默认的Web浏览器和电子邮件客户端
[ ^ ]
To associate a program for all users on a computer, change the HKEY_CLASSES_ROOT\mailto\shell\open\command Default value to:
"Your program''s executable" "%1"

To associate a program for the current user, change the HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command Default value to:
"Your program''s executable" "%1"

%1 is replace with the email in mailto syntax e.g. spam@example.com

Or is that what you mean when you say you can''t use mailto?


How to modify the default Web browser and e-mail client programmatically in Windows XP
[^]


这篇关于默认客户端电子邮件程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆