Outlook hangs on emails that have images with invalid network paths
Solution 1
This is a bug in Outlook (prior to and including 2010), as documented here. When an image points to a non-existing network share* (instead of a web server), Outlook’s “Internet picture blocking” functionality doesn’t kick in and Outlook still tries to retrieve the content in a foreground thread, which causes it to stall for about 1 minute.
*While the URLs that begin with // are simply protocol relative URLs, some email clients (Outlook especially, as usual) won’t try to use HTTP or HTTPS as the protocol. Instead they’ll use the file:// protocol and assume the resource you’re referring to is on the local machine (hence Outlook thinking it is a non-existing network share).
UPDATE: a few years later, a hotfix can be downloaded here, though it doesn't seem to always work in my case.
Bottom line: its not safe to use protocol relative URL in email.
Solution 2
One "solution" is to edit your hosts file to map img.youtube.com to your local IP address (127.0.0.1) so it fails instantly, rather than taking 1 minute to fail to find \img.youtube.com.
In my case the emails had an image attempting to load from //feeds.feedburner.com blocking that network location is rather severe though if you run an RSS reader.
Solution 3
According to http://social.technet.microsoft.com/Forums/en-NZ/outlook/thread/008aa82d-f186-494f-b4af-12828be1750e, the fix is to switch to Outlook 2013.
Related videos on Youtube
![Gaia](https://i.stack.imgur.com/jZr6E.jpg?s=256&g=1)
Comments
-
Gaia almost 2 years
At first I thought this could be an isolated problem, but several email from different sources are presenting the same problem. Whenever the email contains an (AFAIK malformed) youtube thumbnail URI, outlook 2010 (14.0.6112.5000 x64) hangs with this dialog on the foreground
The offending source code is
<img alt=3D"" border=3D"0" src=3D"//img.youtube.com/vi/7H_Xe2=5Ub0k/hqdefault.jpg" style=3D"display: block; border: 0;" width=3D"200">
Interestingly enough, this image displays fine when viewed via webmail (google apps).
- Shouldn't out look treat this link just like any other broken link and not hang ?
- Why does the URI work on webmail but not for outlook?
- Any suggestions on a temporary workaround?
-
Gaia over 11 yearsupdate: problem comes and goes. it hasn't happened in months now.
-
Admin about 9 yearsI don't have enough rep to flag as duplicate, but this question has already been asked and I've posted an answer here.
-
Kunal about 9 yearspossible duplicate of Outlook freezing with emails that have links without http protocol block?
-
Gaia over 11 yearsAmazingly enough, that is the answer (which is actually NOT a answer, but what else can we do? M$ never ceases to amaze me...)
-
Mark Cramer over 7 yearsBoom. This works. Emails from The Official Google Blog would 'hang' almost every time because of img.youtube.com. Problem gone.
-
Gaia over 7 yearsA link to the hotfix has been available in the answer for at least 1 year. Pls read other answers before posting.