Open .mai file in Outlook without renaming to .eml
Open .mai file in Outlook without renaming to .eml
When I try and open .mai files with Outlook I get "The command line argument is not valid. Verify the switch you are using." Is there a way to open these files with Outlook? Renaming them to .eml does work, but is inconvenient.
-
- Site Admin
- Posts: 1127
- Joined: Mon Jun 10, 2002 6:31 pm
- Location: Melbourne, Victoria, Australia
Re: Open .mai file in Outlook without renaming to .eml
Hi,
You'll need to make sure you add /eml to the command being executed. So the command in your Windows registry should be something like:
C:\Program Files\Microsoft Office\Root\Office16\OUTLOOK.EXE /eml "%1"
The /eml is needed to tell Outlook what to open it as.
You'll need to make sure you add /eml to the command being executed. So the command in your Windows registry should be something like:
C:\Program Files\Microsoft Office\Root\Office16\OUTLOOK.EXE /eml "%1"
The /eml is needed to tell Outlook what to open it as.
Re: Open .mai file in Outlook without renaming to .eml
Would you mind exporting the registry key and uploading it as a .txt file attachment?
Re: Open .mai file in Outlook without renaming to .eml
Ok I got it figured out. Here is the key that seems to have done it. If you get access denied when changing Progid check the permissions on the UserChoice key. There might be a deny flag set which you can unset (I would set it back when you are done). The Progid just needs changed to eml which already has the /eml set. Is there a reason this isn't done during install? It seems like it would solve many headaches.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.MAI\UserChoice]
"Progid"="Outlook.File.eml.14"
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.MAI\UserChoice]
"Progid"="Outlook.File.eml.14"