我正在使用 HTML 5 拖放文件上传来开发基于 Ember.JS 的应用程序。我遇到了用户想要使用拖放上传 Outlook 电子邮件的要求。JavaScript 似乎无法将 Outlook 消息识别为文件。
有什么方法可以获取对 Outlook 消息的引用并将其作为文件上传到 JavaScript 或使用 JS 拖放的 Bridge OLE
我正在使用 HTML 5 拖放文件上传来开发基于 Ember.JS 的应用程序。我遇到了用户想要使用拖放上传 Outlook 电子邮件的要求。JavaScript 似乎无法将 Outlook 消息识别为文件。
有什么方法可以获取对 Outlook 消息的引用并将其作为文件上传到 JavaScript 或使用 JS 拖放的 Bridge OLE
有付费解决方案:
而且,我在 GitHub 上找到了一个免费的解决方案。
Outlook 文件拖动:https ://github.com/tonyfederer/OutlookFileDrag
您是否考虑过将Exporting
电子邮件发送到文件然后发送Importing
到 Jquery ?从前景看:
File > Open & Export > Export to a file > Comma separated values > Inbox
Outlook 示例文件:
"Subject","Body","From: (Name)","From: (Address)","From: (Type)","To: (Name)","To: (Address)","To: (Type)","CC: (Name)","CC: (Address)","CC: (Type)","BCC: (Name)","BCC: (Address)","BCC: (Type)","Billing Information","Categories","Importance","Mileage","Sensitivity"
"dsds","Dmisa csadfdsafs
Hey Hello World
Kind Regards
Test Message
",,,,"test@gmail.com","test@gmail.com","SMTP",,,,,,,,,"Normal",,"Normal"
用户还可以另存为特定消息