Right-click->send via mail opens new email dialog but doesn't attach file KDE Neon (Dolphin File Explorer)

Description

In Dolphin (KDE’s File Explorer) When I right click a file and choose send via mail (I have KDE set as default mail) a new mail dialog box opens but that file is not attached. This is very trivial and handy feature and should work. Please release a fix.

Thanks.

Setup

  • OS and Version: KDE Neon 5.14
  • Mailspring Version: 1.5.5-b7939d38

(Originally posted by Furqan136 on GitHub.)

Doesn’t work either with Nautilus in Ubuntu 18.04 (Gnome).


(Originally posted by Sytred on GitHub.)

I can also confirm this on Ubuntu 20.04 and Nautilus.

  1. Right-click a file in Nautilus.
  2. Click Send To..
  3. A new Mailspring compose window appears without an attachment.

@Phylu I suspect this would be a trivial fix for you, since you were just in this part of the code, hey? I suspect that there’s some assumed normal command-line argument that we are doing differently, and it might be a good idea to add the “standard” way as well?

If I understand the nautlius-sendto code correctly, it will try to run mailspring --attach=/path/to/filename.txt, wherease mailspring is expecting to be run as mailspring /path/to/filename.txt. Not sure, how the KDE implementation works (but probably similar).

I have an idea, how to tackle this and will have a look.

For reference:

1 Like

See Github Issue:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.