以编程方式打开带有附件的默认电子邮件客户端-ASP.Net [英] Programmatically open default email client with attachments - ASP.Net

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

问题描述



根据我的客户的新要求,我需要实现电子邮件发送功能,该功能应在用户当前的默认电子邮件客户端中调用电子邮件以弹出内容&点击网页中的按钮选择附件.我提到了代码项目文章中针对台式机应用程序提供的解决方案.我们如何修改它以用于Web应用程序.(我们可以将附件文件保存在用户计算机中).是否有其他方法可以在不使用 mailto:功能的情况下打开默认电子邮件客户端窗口?

预先感谢.

Hi,

As per my client''s new requirement, I need to implement the email sending functionality that should invoke an email in the users current default email client to pop up with the content & attachment selected on clicking a button in the web page. I referred the solution provided in code project article for desk top application. How can we modify this to use for Web applications.(We can keep the attachment files in the users computer). Is there any other way to open default email client window without using mailto: feature?

Thanks in advance.

推荐答案

您的ActiveX控件将允许您在用户许可下执行此操作.本文提供了您需要的编码.您需要在他的代码周围包裹一个activex.然后,您可以使Activex可点击,然后点击事件将启动该过程.
You ActiveX control that would allow you to do this with the user''s permission. The article provides the coding you need. you need to wrap an activex around his code. you could then make the activex clickable and the click event would start the process.


这篇关于以编程方式打开带有附件的默认电子邮件客户端-ASP.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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