• 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

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.

Subscribe
Notify of
25 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Elton Nunes
April 22, 2021 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

0
0
Reply
Diane Poremsky
Author
Reply to  Elton Nunes
April 22, 2021 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.

0
0
Reply
Elton Nunes
Reply to  Diane Poremsky
April 22, 2021 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?

1
0
Reply
Diane Poremsky
Author
Reply to  Elton Nunes
April 22, 2021 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

0
0
Reply
Zaid Al-Athwary
March 12, 2020 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 :)

0
0
Reply
Diane Poremsky
Author
Reply to  Zaid Al-Athwary
March 12, 2020 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://.

0
0
Reply
Dennis
July 4, 2018 9:13 am

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

0
0
Reply
Diane Poremsky
Author
Reply to  Dennis
July 4, 2018 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.

0
0
Reply
Dennis
Reply to  Diane Poremsky
July 5, 2018 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.

0
0
Reply
Diane Poremsky
Author
Reply to  Dennis
July 6, 2018 12:45 am

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

1
0
Reply
Dennis
June 25, 2018 1:51 pm

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

thanks!

0
0
Reply
Diane Poremsky
Author
Reply to  Dennis
June 26, 2018 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.

0
0
Reply
Dennis
Reply to  Diane Poremsky
June 26, 2018 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

0
0
Reply
Diane Poremsky
Author
Reply to  Dennis
July 3, 2018 11:30 pm

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

0
0
Reply
Sean
October 11, 2017 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...

0
0
Reply
Diane Poremsky
Author
Reply to  Sean
October 12, 2017 8:08 am

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

0
0
Reply
Rob Nicholson
August 1, 2016 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).

1
0
Reply
Tom
October 20, 2011 6:35 pm

I am looking for longer time for these path:

C:WINDOWSsystem32driversetcHOSTS

And Thanx for the video

0
0
Reply
Guus Brugman
October 18, 2011 12:09 am

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

0
0
Reply
Diane Poremsky
Reply to  Guus Brugman
October 18, 2011 1:02 am

Yes, I'm going to update that next.

0
0
Reply

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

Latest EMO: Vol. 30 Issue 38

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
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • Change Outlook's Programmatic Access Options
  • Removing Suggested Accounts in New Outlook
  • OUTLOOK.EXE continues running after you exit Outlook
  • Adjusting Outlook's Zoom Setting in Email
  • Classic Outlook is NOT Going Away in 2026
  • 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
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New 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

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

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New 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.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment