KMail

Mailing files from Konqueror

Question: 

I want to right click on one or more files in Konqueror and create a new mail with the files as attachments. Is this possible?

Answer: 

Yes, by creating a service menu entry.

In the directory .kde/share/apps/konqueror/servicemenus, relative to your home directory, create a file called sendto.desktop with the following contents:

[Desktop Entry]
Actions=SendToMailRcp
Encoding=UTF-8
ServiceTypes=all/allfiles
X-KDE-Priority=TopLevel
X-KDE-Submenu=Send To

[Desktop Action SendToMailRcp]
Name=Mail Recipient...
Exec=kmail --attach %F
Icon=kmail

Using KMail from Firefox

Question: 

How do I get Firefox to open mailto-links with KMail and use KMail from Tools/New Message?

Answer: 

For some reason this IMO important configuration setting hasn't made it into the Preferences dialog but it is available:

  1. Open the "about:config" page.
  2. Type "mailto" in the filter field.
Subscribe to RSS - KMail