Bug 105149 - Can not open *.eml files
Summary: Can not open *.eml files
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.8
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-05 18:07 UTC by Zbigniew Luszpinski
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zbigniew Luszpinski 2005-05-05 18:07:29 UTC
Version:           1.8 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.3.3
OS:                Linux (i686) release 2.6.11.7

I can not open *.eml files in KDE. Clicking filename.eml icon displays error message:

"Can not execute process Can not create io-slave:

klauncher application returned error message:
Unknown protocol 'mhtml'."

Temporary fix:
1. Run KMail and
2. Find on menu: File->Open
3. In filter box clean "Electronic mail" words, type in *.eml and press Enter key. All *.eml files will appear. Now you can open any mail file.
Comment 1 Paolo Cento 2005-05-06 07:08:17 UTC
I can confirm this when trying to open .eml files inside konqueror (clean KDE 3.4 install).
Howewer, it doesn't work in kdesktop too, but with a different error message. When I try to open a .eml file on the desktop by clicking on it, I get the "Open with..." dialog asking me which application I want to run to open that file. When I select KMail, it opens the compositor window showing the .eml as an attachment...

Shouldn't .eml be a registered file association just like .html?
Comment 2 Emanuele Tamponi 2005-07-30 17:04:26 UTC
Same error here, KDE 3.4.1
Comment 3 Zbigniew Luszpinski 2006-06-15 23:42:38 UTC
I fixed this in KMail 1.9.3, KDE 3.5.3.

How to fix:
1. Find any *.eml file
2. Right click on this file and choose Properties... from context menu
3. On General tab click on button with tools (Change file type) at Type line
('Modify file type' window will show)
4. In programs hierarchy box click upper KMail, click Change, click Program tab. If you see in Command text box: kmail -caption "%c" %i %m
Click Cancel to go back to 'Modify file type' window.
5. Now click lower KMail and do the same as at 4th step. If you see: kmail --view %u
Click Cancel to go back to 'Modify file type' window.
6. Now click upper KMail and click Move down. ( the KMail command with: kmail --view %u command line will become first action)
7. Apply, OK, OK

Now doubleclicking on any *.eml file will open e-mail in view window. (By default in recent KDE such e-mail is opened as attachment to new e-mail).

I think KDE developers should make KMail action with: kmail --view %u
command the default 1st action instead of kmail -caption "%c" %i %m which opens *.eml as attachemnt to new e-mail.