How can I view the entire source code of an email in Outlook 2010?

Solution 1:

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:

  • outlook 2010 view full message source (headers + source)
  • How to View Source Options in Outlook 2007
  • How to View the Complete Message Source in Outlook

Solution 2:

  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.

Solution 3:

For Outlook 2007 I used the following method:

Go to File » Save as » *.html.

Solution 4:

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 ...)

Solution 5:

In Outlook 2010

  1. Open mail in Outlook
  2. Right Click on the content
  3. Select "View source Code"