• 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
Post Views: 114

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.

Comments

  1. Clas Engström says

    September 10, 2019 at 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

    Reply
  2. Dev says

    February 9, 2017 at 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.

    Reply
    • Diane Poremsky says

      February 10, 2017 at 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...

      Reply
      • Dev says

        February 11, 2017 at 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 ?

      • Diane Poremsky says

        February 13, 2017 at 12:23 am

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

  3. Paul Leech says

    April 26, 2016 at 1:57 pm

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

    Thanks in advance,

    Paul

    Reply
    • Diane Poremsky says

      August 11, 2016 at 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.

      Reply
  4. David Karasiewicz says

    May 18, 2013 at 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

    Reply
  5. David Karasiewicz says

    May 18, 2013 at 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

    Reply
    • Diane Poremsky says

      May 18, 2013 at 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.

      Reply
  6. Sherri says

    January 29, 2013 at 8:43 am

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

    Reply
    • Diane Poremsky says

      January 29, 2013 at 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.

      Reply

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 7

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
  • This operation has been cancelled due to restrictions
  • How to Hide or Delete Outlook's Default Folders
  • Change Outlook's Programmatic Access Options
  • Use Public Folders In new Outlook
  • Removing Suggested Accounts in New Outlook
  • Shared Mailboxes and the Default 'Send From' Account
  • 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
  • Google Workspace and Outlook with POP Mail
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

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

Google Workspace and Outlook with POP Mail

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.