Configuring Windows XP or Windows 7 to open .eml files with Outlook instead of Outlook Express

Document ID : KB000050089
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

After having Configured a mailbox under Administration/Email/Mailboxes to use the 'Attach Entire Email' option, the attachments are saved as .eml files and when trying to view the .eml files, Outlook Express is launched instead of Outlook.

Solution:

IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to create a back up of the registry and ensure that you understand how to restore the registry if a problem may occur.
For more information about how to back up, restore, and edit the registry, please review the relevant Microsoft Knowledge Base articles on support.microsoft.com.

Prior to making registry changes, be sure to take a backup of the registry and be aware of the risks involved in editing the registry.

Also, be sure to verify the paths to Outlook are correct for your desktop environment.

For Windows XP, the following registry key should be changed to read as follows:

[HKEY_CLASSES_ROOT\Microsoft Internet Mail Message\shell\open\command]   
@="\"C:\\Program Files\\Microsoft Office\\Office12\\Outlook.exe\" /eml "\%1\""

For Windows 7 32-bit, the following registry keys should be added as follows:

[HKEY_CLASSES_ROOT\.eml]   
@="Outlook.File.eml"  
[HKEY_CLASSES_ROOT\.eml\OpenWithProgids] "Outlook.File.eml"=""
[HKEY_CLASSES_ROOT\Outlook.File.eml] @="E-mail Message" "EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\Outlook.File.eml\shell] @="Open"
[HKEY_CLASSES_ROOT\Outlook.File.eml\DefaultIcon] @="\"C:\\Program Files\\Microsoft Office\\Office12\\Outlook.exe\",10"
[HKEY_CLASSES_ROOT\Outlook.File.eml\shell\Open]   
[HKEY_CLASSES_ROOT\Outlook.File.eml\shell\Open\command] @="\"C:\\Program Files\\Microsoft Office\\Office12\\Outlook.exe\" /eml \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.eml] @="Outlook.File.eml"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.eml\OpenWithProgids] "Outlook.File.eml"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.File.eml] @="E-mail Message" "EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.File.eml\shell] @="Open"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.File.eml\DefaultIcon] @="\"C:\\Program Files\\Microsoft Office\\Office12\\Outlook.exe\",10"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.File.eml\shell\Open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Outlook.File.eml\shell\Open\command] @="\"C:\\Program Files\\Microsoft Office\\Office12\\Outlook.exe\" /eml "\%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook\Capabilities\FileAssociations] ".eml"="Outlook.File.eml"