使用C#Web应用程序中的MAPI在ASP.NET中使用默认Web客户端发送邮件 [英] Send mail using default webclient in ASP.NET using MAPI in C# web application

查看:72
本文介绍了使用C#Web应用程序中的MAPI在ASP.NET中使用默认Web客户端发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MAPI在C#Web应用程序中打开默认Web邮件客户端.现在,它首先作为对话框打开,然后作为Outlook窗口打开.我想使用MAPI打开直接默认邮件客户端窗口.

I am using MAPI for opening default web mail client in my C# web application. Now it is opening as dialog box first then outlook window. I want to open direct default mail client window using MAPI.

但是,当我在IIS上进行部署时,MAPI不会调用邮件对话框".

But when I am deploying on IIS then MAPI is not calling Mail Dialog box.

是否有使用带有附件的MAPI调用Web邮件客户端的简单方法?

Is there simple way of calling web mail client using MAPI with attachment?

推荐答案

您要在服务器端的客户端上执行此操作吗?我怀疑您是否希望在没有人会关闭这些窗口的服务(IIS)中运行时在服务器上显示任何窗口.如果要在客户端上运行,mailto:url几乎是您唯一的选择.

Do you want to do that on the client of the server side? I doubt you will want any window to be displayed on the server when running in a service (IIS) where noone will dismiss these windows. If you want to run on the client side, mailto: url is pretty much your only choice.

这篇关于使用C#Web应用程序中的MAPI在ASP.NET中使用默认Web客户端发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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