Opening .msg files in SharePoint 2010
- Details
- Alexander Zoutenbier
- Created on Friday, 28 October 2011 11:08
- Hits: 335
Default you cannot open directly .msg (outlook) files in SharePoint. When you open the file it always ask for Save first, then you can open.

But if you not want to save first there are to solutions.
Solution 1:
Set the Browser File Handeling from Strict to Permissive in the General Settings of the Web Application.

Solution 2:
This is the preferred solution because you can let the File Handling on Strict. It's a bit more work but for security issues it's the best.
Go to the IIS Manager on your frond ends and open the MIME Types

Add a new file type .msg with application/vnd.ms-outlook

Now start a SharePoint PowerShell script on your server; (change the webapplication name to your own webapplication)
$webApp = Get-SPWebApplication http://YOUR> WEB APPLICATION |
2 |
If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/vnd.ms-outlook") |
3 |
{ |
4 |
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/vnd.ms-outlook") |
5 |
$webApp.Update() |
6 |
Write-Host "application/vnd.ms-outlook added to AllowedInlineDownloadedMimeTypes" |
7 |
} |
Test the configuration.

