Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know how to view the headers of an email message as well as the source of an HTML message. In Outlook Express, however, there was an option to see the entire message source code the exact same way it was received (i.e. headers and any plain-text and/or HTML message parts in the body). Does such an option or something equivalent exist in Outlook 2010?

share|improve this question
    
Viewing the source of just created mail isn't possible? –  ThiloL Apr 12 '12 at 9:06

5 Answers 5

up vote 26 down vote accepted

To view the headers of a message do the following:

  • In Outlook 2010, Open an existing email.
  • Click on the File tab.
  • Click Info.
  • Click the Properties button.
  • Review the Internet Headers. (To copy: Right-click in the field and click "Select All", right-click again to select copy)

To view the source code of the body of a message, do the following:

  • Open the message you want to see the source code of in Outlook.
  • (2010) right click on the message and select "View source"

or

  • (pre 2010) From the menu bar, click Other Actions then View Source from the drop down.
  • (2010) In the "message" tab, look in the "move" section and select "Actions" -> "Other actions" -> "view Source"

In order to view the complete message source code of newly retrieved POP messages in Outlook 2007/2010:

  1. Log onto your PC with an administrator account.
  2. Open the Start menu, type regedit into the search field and hit Enter. The Registry Editor tool will now launch.
  3. Navigate to the right key.
    1. Outlook 2007: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Mail
    2. Outlook 2010: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
  4. Right-click in the open space on the right side of the window and choose to create a new DWORD Value.
  5. Create a new DWord value and enter SaveAllMIMENotJustHeaders as the name of the new value.
  6. Double-click on the new value, set the value as 1 and then press OK
  7. Close the Registry Editor and open Outlook.
  8. Right-click on the message whose source code you want to view and select Message Options. The full source code of the message will now be viewable in the pop-up window that appears.

Sources:

share|improve this answer
    
worked perfectly on outlook 2013 (obviously 15.0 in the reg path). In outlook 2010 14.0.7106.5001 x86, I can't find the "Mail" folder in that registry key! Adding it isn't working either –  AndreaCi Oct 15 '13 at 12:39
  1. Open Outlook.

  2. Open up the message you want the source code from.

  3. From the menu bar, click Other Actions then View Source from the drop down.

share|improve this answer
1  
From my Outlook 2010, I had to click: Move / Actions / Other actions / View source. –  AnneTheAgile Apr 4 '13 at 16:25
2  
Note: this is only relevant for viewing the HTML portion of a message, not the full message source (headers, alternate content, etc.) –  BrianS May 30 '13 at 15:13
    
I've added this to the accepted answer, since it seems like a better solution to me. –  Wouter Mar 28 at 13:30

For Outlook 2007 I used the following method:

Go to File » Save as » *.html.

share|improve this answer

In Outlook 2010

  1. Open mail in Outlook
  2. Right Click on the content
  3. Select "View source Code"
share|improve this answer

The "view source" method in Outlook 2010 shows you only the HTML code of the body of the email. It does NOT show you the actual source code of the email itself, which is considerably more complex, and may include a text-only version of the body as well. Sometimes it is necessary to look at the actual code of the email, in the form it arrived in, in order to troubleshoot a display oddity, etc.

If I recall correctly, in order to have the email's body code appear along with the header when you click Properties, you'll need to meddle with the registry. The Registry solution given above might or might not be correct. It did NOT work for me. The solution was to drill down in the registry a bit further, as instructed here: http://email.about.com/od/outlooktips/qt/How_to_View_the_Complete_Message_Source_in_Outlook.htm

Remember to restart Outlook 2010 after exiting the Registry. The true email source code will appear under the header code in the "Internet headers" portion of the popup you get with File>Properties. Outlook will show you the full body source ONLY for emails received AFTER you've made the proper Registry edit. For emails received prior to that, you can see their HTML source code using the Actions menu, but their email source code cannot be retrieved. The file size displayed in your list of emails will be a larger number of bytes than would be displayed before making this change. (Something I discovered only because I happened to be getting duplicate emails from my mail provider. Maybe some were received before my change, some after. Time will tell ...)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.