如何在ASP中与收件人打开Outllook。网络应用程序

时间:2022-08-04 21:16:10

I want about a ASP.NET Application open Outlook with the Recipient without the mail is send. Only open Outlook with the Recipient.

我想要一个ASP。NET应用程序打开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.

我想对其他应用程序进行测试,在我的测试中,我使用带有接收文本和按钮openOutlook的文本框。

How I can do this?

我怎么做呢?

1 个解决方案

#1


1  

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. You may have to develop an ActiveX or Java applet, but this would really be overkill.

否则,您的选择可能会受到限制,因为您的web服务器无法在客户端计算机上打开特定的应用程序。您可能需要开发一个ActiveX或Java applet,但这确实有些过头了。

#1


1  

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. You may have to develop an ActiveX or Java applet, but this would really be overkill.

否则,您的选择可能会受到限制,因为您的web服务器无法在客户端计算机上打开特定的应用程序。您可能需要开发一个ActiveX或Java applet,但这确实有些过头了。