简体   繁体   English

如何在ASP.NET应用程序中使用收件人打开Outllook

[英]How I can open Outllook with Recipient in a ASP.NET Application

I want about a ASP.NET Application open Outlook with the Recipient without the mail is send. 我想要一个ASP.NET应用程序,打开带有收件人的Outlook,而不发送邮件。 Only open Outlook with the Recipient. 仅使用收件人打开Outlook。

I want test it for a other application and in my test I use a Textbox with the Recipient text and a Button openOutlook. 我想对其他应用程序进行测试,在测试中,我使用带有收件人文本的Textbox和Button openOutlook。

How I can do this? 我该怎么做?

Assuming Outlook is the default email client installed, you can use the mailto prefix in an anchor tag : 假设Outlook是已安装的默认电子邮件客户端,则可以在锚标记中使用mailto前缀:

<a href="mailto:user@example.com">Send email to user@example.com</a>

Otherwise, your choices may be limited as your web server has no way of opening specific applications on client computers. 否则,您的选择可能会受到限制,因为您的Web服务器无法在客户端计算机上打开特定的应用程序。 You may have to develop an ActiveX or Java applet, but this would really be overkill. 您可能必须开发一个ActiveX或Java applet,但这确实太过分了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在浏览器中不打开页面的情况下自动运行 asp.net mvc 应用程序 - How can i auto run asp.net mvc application without open page in browser 在ASP.Net中,如何在新窗口中打开链接? - In ASP.Net, how can I open a link in a new window? 我如何将一个简短的 ASP.NET WebForms 应用程序迁移到 ASP.NET MVC 应用程序? - How i can migrate a short ASP.NET WebForms Application to ASP.NET MVC Application? 如何在 asp.net 应用程序中使用 Graphviz? - How can I use Graphviz in an asp.net application? 我如何在asp.net应用程序中修复MAC错误? - How I can fix MAC error in asp.net application? 如何在运行ASP.NET应用程序的整个时间内保持SqlConnection处于打开状态? - How do I keep an SqlConnection open for the entire time that the ASP.NET application is running? 我如何在C#ASP.Net应用程序中打开弹出窗口而不用Chrome静默阻止它? - How do i open popup window in C# ASP.Net application without Chrome silently blocking it? 如何在C#express中打开ASP.NET空Web应用程序模板? - How do I open an ASP.NET empty web application template in C# express? 尝试使用outllook从asp .net windows应用程序发送带有图像的电子邮件时出现“无法创建文件”错误 - 'Cannot create file' error while trying to send email with image from asp .net windows application using outllook 我可以在.net 4中部署我的ASP.NET MVC 4应用程序吗? - Can I deploy my ASP.NET MVC 4 application in .net 4
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM