如何将Outlook中的拖放上传功能添加到Web表单? [英] How do you add drag-n-drop upload ability from Outlook to a Web form?

查看:149
本文介绍了如何将Outlook中的拖放上传功能添加到Web表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种允许用户以简单的方式将Outlook电子邮件上传到基于网络的系统的方法。



我可以让用户以手动方式工作。他们可以将电子邮件从Outlook拖放到桌面,从而创建一个.msg文件。这非常好,尤其是。如果电子邮件中有附件也存储在.msg文件中。然后可以使用传统的input type = filehtml字段上传该文件。



如果可能,我想简化此过程。我看到一些网站上有一个拖放上传功能的硬盘上存在的文件。



但是,我不知道是否存在任何东西,允许从Outlook直接拖放,可以创建一个.msg文件或类似的东西,并处理上传文件。换句话说,一个解决方案是将手动步骤将电子邮件拖到桌面上,创建临时的.msg文件进行上传。



这是可能的,如果是,怎么样?所有的用户目前都在Windows XP上,并且具有Outlook 2007,IE6或更高版本以及Firefox。后端服务器正在为所涉及的应用程序运行Java(我们的编程人员使用ASP.NET W / C#进行Web开发),但我认为任何解决方案都将主要基于像Flash或JQuery这样的客户端技术。 p>

解决方案

我不认为你会用jQuery / JavaScript实现这一点 - 你可能有机会像Flash一样。 p>

另外,您是否可以创建一个简单的客户端应用程序,以便他们可以在桌面上运行,这样他们就可以将消息拖拽到这种方式上,您可以全面运行信任并执行您希望获取文件并从该应用程序上传任何任务(这是我曾经使用的文件扫描应用程序使用的解决方案 - 我们有一个小窗口,用户可以将文件或电子邮件拖动到启动上传到扫描店。


I am looking for a way to allow users to upload Outlook emails to a web-based system in a simple manner.

I can get this to work in a manual fashion for the users. They can drag and drop the email from Outlook to their desktop, which creates a .msg file. This works very nicely, esp. if there are attachments in the email which are also stored in the .msg file. This file can then be uploaded using a traditional "input type=file" html field.

I would like to simplify this process, if possible. I have seen some websites that have a drag-n-drop upload feature for files that exist on the hard drive.

However, I am not sure if anything exists that would allow for a straight drag-n-drop from Outlook that could create a .msg file or something similar and handle the file upload. In other words, a solution to cut out the manual step of dragging the email message to the desktop to create the temporary .msg file for upload.

Is this possible, and if so, how? All of the users are currently on Windows XP and have Outlook 2007, IE6 or higher, and Firefox. The backend server is running Java for the application in question (our programming staff uses ASP.NET w/ C# for our web development), though I assume any solution would be largely based upon a client-side technology like Flash or JQuery.

解决方案

I don't think you'll achieve this with jQuery / JavaScript - you might have a chance with something like Flash.

As an alternative, could you create a simple client application that they can run on their desktop, which allows them to drag the message onto - that way, you can be running in full trust and perform whatever tasks you wish to get the file and upload it from this application (this was the solution used by a file-scanning application I once worked on - we had a small window that users could drag the file or email onto to initiate the upload to the scan store.

这篇关于如何将Outlook中的拖放上传功能添加到Web表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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