• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Outlook hangs while opening messages

Slipstick Systems

› Problems › Outlook hangs while opening messages

Last reviewed on August 30, 2021     25 Comments

While this is no longer a "PayPal problem" it is affecting more users in recent weeks: Google docs does not include http (or https) in embedded links and a number of users are reporting problems with other URLs.

If you see Outlook trying to connect to a URL formatted like this: //s.ytimg.com/yt/img, the problem is the missing http protocol. Any of the solutions on this page will fix the "s.ytimg.com problem" and other urls that are missing https: in the url.

Outlook users have experienced issues with Outlook hanging when they view email messages from PayPal, Google Docs, and YouTube. Outlook goes into a "not responding" state while it tries to process a web bug using a url that is missing HTTPS:.

In addition to the hangs, another concern is that Outlook is trying to connect to a web address, even though all external content is supposed to be blocked.

My blocked external content settings.

I don’t allow any automatic downloads, not even from trusted addresses, but Fiddler shows traffic to 102.112.2O7.net when I select a message that causes Outlook to hang.

Fiddler shows Outlook connecting to the web server

Bad Outlook! When I say "don’t download external content" I don't want you to contact the server. Outlook thinks the address is a local network address, and since it trusts local network addresses, it tries to connect. In this case, the URL is invalid, so Outlook hangs until it times out. But if the URL were valid, Outlook would happily download the content.

This bug needs fixed ASAP. it defeats the reason many people blocking web bugs in email: not being tracked when you read email.

Until its fixed, any marketer can defeat the blocked external content feature by leaving the HTTP off the URL and track what you did with the message, or display images.

Thanks PayPal and 2o7.net for bringing this bug to my attention!
 

If you are affected by this problem:

Be patient. Outlook will eventually display the message (it takes a minute or so here.) However, every time you select an affected message you need to wait for Outlook to time out.

Other solutions: edit the hosts file to point the offending domain to the local host. Outlook will time out faster with this entry in Hosts. Read all messages in plain text, or use a run a script rule to convert affected messages to plain text.

Run a Script Rule

Note: converting a message to plain text using this script will destroy the HTML part. You will not be able to convert it back to HTML later. Reading all messages in plain text will allow you to switch messages back to HTML.

To use, press Alt+F11 to open the VBA editor. Expand Project1 to locate ThisOutlookSession and paste the following code into the right side of the screen. Save and close the VB Editor.

Create a rule in Outlook with conditions that apply to the affected messages and select the Run a Script as the action. Select the script and complete the rule.

Sub ConvertToPlain(oMail As MailItem)
    Dim strID As String
    Dim objMail As Outlook.MailItem
    
    strID = oMail.EntryID
    Set objMail = Application.Session.GetItemFromID(strID)
    objMail.BodyFormat = olFormatPlain
    objMail.Save
    
    Set objMail = Nothing
End Sub

Edit HOSTS file

Type Notepad in the Start menu's Search field (or find it on the Start menu). Right click on Notepad and choose Run as Administrator. (You may need to enter your administrator password in Windows 7/8/10 or Vista.

Paste this line in the File, Open dialog then press Enter.
Hosts file

C:\WINDOWS\system32\drivers\etc\HOSTS

Type or paste a line formatting like the following lines, into the hosts file and save. To block other sites, use the same format: 127.0.01 hostname.com

127.0.0.1 102.112.2O7.net
127.0.0.1 s.ytimg.com

Save the file.

Note: if you don't open Notepad using Run as Administrator, you'll need to save the file to My Documents and copy it to folder. Using Run as Admin is so much easier. :) If you don't see Run as Administrator on the right-click menu of Notepad, hold Shift and right click again.

If you need to keep a copy of the message, you should convert it to plain text format or edit the message to remove the web bug (at the very bottom of the message).

Tutorial: Edit the Hosts File and Edit the Message to Remove the Webbug

This video tutorial shows you how to edit the Hosts file. It also shows you how to edit the message to remove the web bug.

To remove the web bug or convert to plain text:

Open the message and go into Edit mode. In Outlook 2007 and newer, you'll go to the Actions Command, Edit message.
Put the message into Edit mode to remove the web bug

In older versions, look on the Edit menu in an open message.

Note: It may take a few seconds to enter Edit mode as Outlook will need to download external content.

Once in Edit mode either:

  • Locate the line containing the offending link and delete it.
  • Or switch to the Format Text ribbon and choose Plain text.

Save and close the message.

Outlook hangs while opening messages was last modified: August 30th, 2021 by Diane Poremsky
Post Views: 96

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Mastodon (Opens in new window) Mastodon
  • Email a link to a friend (Opens in new window) Email

Related Posts:

  • Read Outlook Messages using Plain Text
  • Editing received email messages
  • Attachments are deleted from plain text messages after the January 9 2018 Update (Fixed)
  • Move messages CC'd to an address

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Comments

  1. Elton Nunes says

    April 22, 2021 at 8:31 am

    same problem here

    // ssl.gstatic.com/ui/v1/icons/common/x_8px.png

    Outlook 2016 + Win10

    I don't know what else to do

    helpp

    Reply
    • Diane Poremsky says

      April 22, 2021 at 11:04 am

      Add
      127.0.0.1 ssl.gstatic.com

      to the Hosts file. It will help.

      If I have time, I will write a script to edit the message as it arrives - adding https to the url should work.

      Reply
      • Elton Nunes says

        April 22, 2021 at 11:59 am

        Yes, but add ssl.gstatic.com in hosts file, have a problem
        my services in google web, gmail, drive, not working =/

        how i add https to url?

      • Diane Poremsky says

        April 22, 2021 at 9:03 pm

        Try this - I have not tested it so {fingers crossed} it works as is

        Public Sub AddHTTPS(Item As MailItem)
         Dim b$, NewFont$, OldFont$
          
        ' check the message source code to verify this it how it shows up
        ' this is looking for src="//ssl.gstatic.com"
         OldURL = "src=" & chr(34) & "//ssl.gstatic.com"
         NewURL = "src=" & chr(34) & "https://ssl.gstatic.com"
          
         b = Item.HTMLBody
         b = Replace(b, OldURL, NewURL, , , vbTextCompare)
         Item.HTMLBody = b
         Item.Save
        End Sub

        To test it, use this macro - select an affected message and run this macro. It if works you can create a run a script rule to look for the phrase in oldurl in the body then run the rule or if oyu only have a few affected messages, use this to do it manually.

        Sub RunScript()
        Dim objApp As Outlook.Application
        Dim objItem As Object ' MailItem
        Set objApp = Application
        Set objItem = objApp.ActiveExplorer.Selection.Item(1)

        'macro name you want to run goes here
        AddHTTPS objItem

        End Sub

  2. Zaid Al-Athwary says

    March 12, 2020 at 10:42 am

    Firstly, please do as follows:

    Go to File Menu
    Choose "Options"
    Click on last menu "Trust Center" from left-hand side
    Click on "Trust Center Settings" button
    Check Off "Don't download pictures automatically in HTML e-mail message or RSS items"

    If this didn't solve your problem like my case, that means Outlook already downloaded images which made this error.
    and in order to solve this try these steps:
    Open your email account online such as: Gmail, Outlook or any IMAP or POP3 email.
    Put that email which cause the error in Trash (delet it temporarily)
    Synchronize outlook folder, this will delete email from Inbox or Sent mails
    Restore the email from Trash to the same folder it was in
    Outlook will synchronize the email and image will get blocked

    The 2nd part solved my problem :)

    Reply
    • Diane Poremsky says

      March 12, 2020 at 4:47 pm

      This will not work with the web bugs that are missing http/https - they (attempt to) download even if the download web content is disabled because Outlook thinks they might use file://.

      Reply
  3. Dennis says

    July 4, 2018 at 9:13 am

    Sorry, try this: https://groups.google.com/a/googleproductforums.com/d/msgid/drive/5e804475-12a3-4d51-8258-1c0485e492f8%40googleproductforums.com

    Reply
    • Diane Poremsky says

      July 4, 2018 at 2:05 pm

      Yeah, this is the problem: src="//ssl.gstatic.com/ui/v1/icons/common/x_8px.png" - twice.

      What is your version/build of Office? I thought was addressed a while back but will check again.

      Reply
      • Dennis says

        July 5, 2018 at 12:08 pm

        Yep, that's the issue. They just need https: in front of that and problem solved.

        2016 MSO (16.0.10228.20080) 32 BIT

        They really need to change that screen to right click copy of the build! LOL.

      • Diane Poremsky says

        July 6, 2018 at 12:45 am

        Yeah, they should have all of the error messages and many other screens copyable, it would make life easier. :)

  4. Dennis says

    June 25, 2018 at 1:51 pm

    hi there - was this fixed in Outlook 2016? Still have same issue....

    thanks!

    Reply
    • Diane Poremsky says

      June 26, 2018 at 1:12 am

      I thought it was, but could be wrong. It's also possible they broke it again or the external url is malformed. I'll see what I can find out.

      Reply
      • Dennis says

        June 26, 2018 at 6:48 am

        I posted exact issue here - it’s one stupid image link in there! https://productforums.google.com/forum/m/#!search/Outlook$20freezes$20protocol/drive/0EgUWZtG3Cg

      • Diane Poremsky says

        July 3, 2018 at 11:30 pm

        sorry, the link isn't working here. :(

  5. Sean says

    October 11, 2017 at 9:05 am

    I am getting this on Outlook 2016 / Win 10, and always in emails from the same EU based colleague. Sometime soon I will have to deep dive into this and submit a bug report...

    Reply
    • Diane Poremsky says

      October 12, 2017 at 8:08 am

      Are there embedded images in the message? If so, look at the source code - how is the image url formatted?

      Reply
  6. Rob Nicholson says

    August 1, 2016 at 4:44 am

    Sadly two years later this bug is still present in Outlook 2016. Just received an email from Wickes in the UK which causes Outlook to freeze whilst it tries to fetch a bad graphic from Travis Perkins (parent company).

    Reply
  7. Tom says

    October 20, 2011 at 6:35 pm

    I am looking for longer time for these path:

    C:WINDOWSsystem32driversetcHOSTS

    And Thanx for the video

    Reply
  8. Guus Brugman says

    October 18, 2011 at 12:09 am

    Diane, it may be helpful to add 'Fixed' to the title of this subject?

    Reply
    • Diane Poremsky says

      October 18, 2011 at 1:02 am

      Yes, I'm going to update that next.

      Reply
  9. Guus Brugman says

    October 17, 2011 at 11:24 pm

    PayPal just fixed it. Had no problem opening Receipt for your Payment to xxx

    Reply
  10. David Finley says

    October 14, 2011 at 1:36 am

    Thanks for the suggestions. For system admins who are faced with the Outlook hanging on PayPal messages, there is some notes in this post that may help too: https://www.interactivewebs.com/blog/index.php/gen...

    Reply
  11. Amieq says

    October 13, 2011 at 7:09 pm

    Thanks very, very, very much for the hostfile fix! You've saved me a lot of time today!

    Reply
    • Len Raphael says

      September 11, 2017 at 4:39 am

      Started getting it for first time from a client who loves sending me links to google docs or google drive. Crashes OL 2016 every time. Now I just open his mail in OWA or Win 10 mail.

      Reply
      • Diane Poremsky says

        September 11, 2017 at 3:52 pm

        I'm guessing the link doesn't have the HTTPS: part. At most, it should just cause outlook to hang for up to 2 minutes before it times out, but there could be other issues depending on your security software.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 10

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Deleting Auto-Complete Entries No Longer Works
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Change Outlook's Programmatic Access Options
  • How to Hide or Delete Outlook's Default Folders
  • Understanding Outlook's Calendar patchwork colors
  • Disable "Always ask before opening" Dialog
  • Reset the New Outlook Profile
  • Adjusting Outlook's Zoom Setting in Email
  • Outlook is Sending Winmail.dat Attachments
  • Deleting Auto-Complete Entries No Longer Works
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Deleting Auto-Complete Entries No Longer Works

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.