HTML 5 drag and Drop email from outlook

7.3k Views Asked by At

I am working on a Ember.JS based application with HTML 5 drag and drop file upload. I have came across a requirement where user wants to upload outlook emails using Drag and Drop. It seems that JavaScript can not recognize outlook messages as files.

Is there any way to get a reference to outlook message and upload it as a file in JavaScript Or Bridge OLE drag and drop with JS

2

There are 2 best solutions below

1
On

Have you considered Exporting emails to a file then Importing it to Jquery ? From outlook:

File > Open & Export > Export to a file > Comma separated values > Inbox

Outlook sample file :

"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

",,,,"[email protected]","[email protected]","SMTP",,,,,,,,,"Normal",,"Normal"

The user can also save as a specific message

0
On

There are paid solutions:

  1. Outlook2Web: https://outlook2web.com/
  2. DragDrop: https://www.dragdrop.com/

And, I found a free solution on GitHub.

Outlook File Drag: https://github.com/tonyfederer/OutlookFileDrag