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

How to view the message source in Outlook

Slipstick Systems

› Outlook › Email › How to view the message source in Outlook

Last reviewed on November 13, 2017     12 Comments

Applies to: Outlook (classic), Outlook 2007, Outlook 2010

Beginning with Outlook 2003 you can view the header and message source code source together in the options dialog, provided you edit a registry key.
View message source code

This works on mail downloaded from Internet mail transports only, meaning it works with POP3 and IMAP accounts only, not Exchange server mailboxes or Outlook.com accounts.

Header and Source sample

To learn how to open the Message options dialog so you can view the Internet Headers, see How to View Internet Headers

Note that setting this registry value will result in larger messages stored in your data file. For this reason, you may want to use this key only when you need to troubleshoot issues. If you delete the key (or change the value to 0), the source code will not be removed from messages already downloaded.

Set the SaveAllMIMENotJustHeaders registry value

Open the registry editor and navigate to the correct key for your version of Outlook, then right click on Mail in the right pane and choose new DWORD, naming it SaveAllMIMENotJustHeaders. Set a value of 1.

Outlook 2016

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\Mail
Parameter: SaveAllMIMENotJustHeaders
Value: 1

Outlook 2013

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Options\Mail
Parameter: SaveAllMIMENotJustHeaders
Value: 1

Outlook 2010

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
Parameter: SaveAllMIMENotJustHeaders
Value: 1

Outlook 2007

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Mail
Parameter: SaveAllMIMENotJustHeaders
Value: 1

Outlook 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\Mail
Parameter: SaveAllMIMENotJustHeaders
Value: 1

After editing the registry, restart Outlook then view the message headers of messages that were downloaded after you restarted Outlook.

Do It For Me

Download the correct file for your version of Outlook, then double click to add it to the registry.

Outlook 2016 Outlook 2013 Outlook 2010
Outlook 2007 Outlook 2003

Remember: This works only with POP3 and IMAP accounts and only for messages not yet downloaded. To view the source for POP3 accounts where messages are left on the server, create a second account in Outlook and re-download the messages.

How to view the message source in Outlook was last modified: November 13th, 2017 by Diane Poremsky

Related Posts:

  • How to View Internet Headers
  • How to Backup your Outlook Account Settings
  • Sync Calendar and Contacts Using Outlook.com
  • Stop Showing Contact Pictures in Messages

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
12 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Clas Engström
September 10, 2019 12:47 am

How about Outlook 365 2019 version. I sent you the header and the only ip found in it was the loopback address.
Regards
Clas

0
0
Reply
Dev
February 9, 2017 11:17 pm

Hi Daine, is there any way, by which I can see raw mime source of mail also ? By view source, I am only able to see html mail source. I want to access raw mail source in code (by my add in) but it keeps giving me unauhorize access exception (I am accessing it using . Can you please suggest some way around.

0
0
Reply
Diane Poremsky
Author
Reply to  Dev
February 10, 2017 12:22 am

AFAIK, no you can't get the raw mime. You can get the source and the full internet header. The reg key - SaveAllMimeNotJustHeaders - is for POP/IMAP only and only works on messages downloaded AFTER the key was set. It is the same as getting the body source and header...

0
0
Reply
Dev
Reply to  Diane Poremsky
February 11, 2017 4:00 am

Hi Diane, Thanks a lot for your quick reply. Is it some limitation in outlook 2013 or it related to windows ? I have outlook 15.29 version on Mac and it gives you option "view source". When you click on it, it displays raw mime source. what is your take ?

0
0
Reply
Diane Poremsky
Author
Reply to  Dev
February 13, 2017 12:23 am

It's a windows thing. It's always worked like this on windows.

0
0
Reply
Paul Leech
April 26, 2016 1:57 pm

What about Exchange accounts? Is there any way to view the message source with that protocol?

Thanks in advance,

Paul

0
0
Reply
Diane Poremsky
Author
Reply to  Paul Leech
August 11, 2016 1:19 am

In Exchange, you can only see the HTML message source you get by right clicking on the bottom of the message and choosing View source and the separate internet header.

0
0
Reply
David Karasiewicz
May 18, 2013 8:17 pm

Many Thanks,
This works. Okay they are call "Keys", not folders as I called them.. :)
Also adding the properties (Message Options) to the tool bar works nice for my needs too.
Thanks
dk

0
0
Reply
David Karasiewicz
May 18, 2013 7:09 pm

HI Diane,

Thank you for post. It seems that I've missed something because I do not see the ...\options\mail. Once I get to ...\options there are four other folders: Calendar, General, MSHTML and Spelling. Has there been one or more changes since your post? I'm using IMAP protocol.

Sinerely
dk

0
0
Reply
Diane Poremsky
Reply to  David Karasiewicz
May 18, 2013 8:03 pm

If the folder does not exist, create it. They are only added ot the registry if you make a change to options that writes to that key. If you change some settings on the Mail options page, it should add the Mail key for you.

0
0
Reply
Sherri
January 29, 2013 8:43 am

How would you view the source when the email is received via Exchange?

0
0
Reply
Diane Poremsky
Reply to  Sherri
January 29, 2013 5:57 pm

If the mailbox can be accessed using POP3 or IMAP, you can use the method on this page - it's not that it doesn't work with Exchange mailboxes, but that it only works when you use the POP3 or IMAP protocol.

0
0
Reply

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

Latest EMO: Vol. 31 Issue 3

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
  • Disable "Always ask before opening" Dialog
  • Reset the New Outlook Profile
  • How to Hide or Delete Outlook's Default Folders
  • This operation has been cancelled due to restrictions
  • Change Outlook's Programmatic Access Options
  • Adjusting Outlook's Zoom Setting in Email
  • Removing Suggested Accounts in New Outlook
  • Remove a password from an Outlook *.pst File
  • 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