Drag and drop Outlook items as files into any application
Microsoft Edge (as of Windows 10 1709) and Google Chrome (as of version 76) natively support drag and drop from Outlook on Windows. If you use one of these browsers, then this plugin is not necessary.
Outlook File Drag is an add-in for Outlook 2013 and 2016 that allows you to drag and drop Outlook items (messages, attachments, contacts, tasks, appointments, meetings, etc) to applications that allow physical files to be dropped, such as web browsers.
When you try to drag and drop from Outlook, Outlook correctly identifies the format as virtual files (CFSTR_FILEDESCRIPTORW) since the files do not exist directly on disk. Instead, they are contained in a PST file, OST file, or on an Exchange server.
However, many applications do not support this format, such as web browers and most .NET/Java applications.
To work around this issue, Outlook File Drag hooks the Outlook drag and drop process and adds support for physical files (CF_HDROP). When the receiving application asks for the physical files, the files are saved to a temp folder and those filenames are returned to the application. The application processes the files (such as uploading them). Outlook File Drag deletes the temp files later in a cleanup process.
- Works with Chrome, Firefox, Internet Explorer, Edge, and other applications that accept files to be dropped
- Allows drag and drop into HTML5-based web applications
- Drag e-mails, attachments, contacts, calendar items, and more
- Drag multiple items at once
- Supports Unicode characters
To install, run the installer that matches your Windows build:
After installing, restart Outlook for the add-in to take effect.
For administrators, OutlookFileDrag supports automated (silent) installation and uninstallation using msiexec
with command line parameters.
To silently install OutlookFileDrag, use this command:
msiexec.exe /i <pathtomsi> /qn /log <pathtolog>
<pathtomsi>
: Path to MSI file<pathtolog>
: Path to log file (if folder is not specified, MSI path is used)
Example:
msiexec.exe C:\Install\OutlookFileDrag_x64.msi /qn /log C:\Logs\OutlookFileDragInstall.log
After installing, restart Outlook for the add-in to take effect.
To silently uninstall OutlookFileDrag, use this command:
msiexec.exe /x <productcode> /qn /log <pathtolog>
<productcode>
for 64-bit version:{CF5F9043-967C-400D-B6D5-F41AF6AD83AE}
<productcode>
for 32-bit version:{7EA6E17B-8802-4E1F-9669-248670B31BFB}
<logfile>
: Path to log file
Example:
msiexec.exe /x {CF5F9043-967C-400D-B6D5-F41AF6AD83AE} /qn /log C:\Logs\OutlookFileDragUninstall.log
Outlook File Drag uses these open source projects:
You can view the source code, report issues, and contribute on Github.
If you find this project useful, please consider donating. Your donations are appreciated. =)
- Fixed drag and drop of embedded RTF attachments (thanks chrisv2)
- Fixed System.ArgumentException bug in ReadHGlobalIntoStream method when reading more than 4 KB introduced in version 1.0.8.
- If files were dropped and drop effect was "move", then override to "copy" so original item is not deleted
- Fixed releasing of unmanaged resources
- Memory usage improvements
- Added more details to log file
- Fixed crash when dragging calendar items
- Added additional debug logging
- Fixed issue where STGMEDIUM was not being released after reading filenames
- Fixed issue that where reading filenames sometimes failed
- Fixed hooking process to allow starting and stopping hook without disposing and recreating hook
- Fixed issue that prevented dragging items from one group to another
- Fixed PathTooLong exception when temporary filename was longer than MAX_PATH
- Fixed issues with 64-bit Outlook
- Added self-signed certificate
- Initial Release
Outlook File Drag is copyright (c) 2018 by Tony Federer and released under the MIT License.