Thursday 31 March 2016

allow opening of emails saved in sharepoint to directly open in outlook

Got a client request where they manually upload draft email to SharePoint so that team can work on it to provide extra info, for this they don't like the option to click on email and then get prompt to save the msg file first and then edit it and then manually overwrite it. This takes too much time.

they wanted the email to open directly in outlook/third part client when they click on msg in SharePoint.

$webApp = Get-SPWebApplication "<<web application url>>"            
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/msg")            
$webApp.Update()






Also add MIME type to web application level i.e. windows -> Run -> InetMgr -> Go to application -> Go to MIME Types and then click Add


Enter
msg to "file name extension" to text field and
"application/vnd.ms-outlook" to text field MIME Types


Do IISReset


https://kerseub.wordpress.com/2012/04/23/add-new-file-type-in-sharepoint/






http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx