[英]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.