This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Drag email to file system

17

Votes
17
0
Tags: kmail kmail kmail
(comma "," separated)
pembo13
Registered Member
Posts
75
Karma
0
OS

[KMail] Drag email to file system

Thu May 28, 2009 1:36 am
I do not personally do this, but this seems to be an important part of the workflow of some Microsoft Outlook users -- the ability to drag an email from their client to their hard drive, where they can organize it into folders.

Any by file system, I mean any KIO slave with write support.So I could effectively "copy" an email from inbox to my backup drive (preserving content, formatting, attachments).
Lukas
Registered Member
Posts
427
Karma
0

RE: [KMail] Drag email to file system

Thu May 28, 2009 11:47 am
To copy html, doc odt pdf?
pembo13
Registered Member
Posts
75
Karma
0
OS
Lukas wrote:To copy html, doc odt pdf?


That part I am not sure, all I know users seem to expect everything to be preserved just by dragging it from their email client client. So one options would be to just save the multi-part text file (of which an email is any way) to the file system as a .email, email clients already know how to display this data.

Alternatively, maybe there could be an popup menu, such as exists when you move (copy here, move here) that offers to export to .email or .pdf (without attachments)
Lukas
Registered Member
Posts
427
Karma
0
Somebody should check how this is done in windows.

Since this functionality would be used mostly by ex-Windowers, cloning it wount be a crime.
pembo13
Registered Member
Posts
75
Karma
0
OS
Lukas wrote:Since this functionality would be used mostly by ex-Windowers, cloning it wount be a crime.


Well I really don't have a Windows desktop, but I can try to replicate one. But it's an interesting method of working with emails, I was kinda suprised when I first observed it. But Windows users are trained to drag and drop, and KIOs make dragging and dropping even more functional for KDE, so this may be a feature that at some folks would just assumed work -- I actually thought that maybe KMail already did it and I just never tried it, but it did not work.
chipukb
Registered Member
Posts
13
Karma
0
OS
I used a couple of times. When you drag and drop to the file system, a file with extension .eml is created. This is a normal file that contains the headers, body (plain or html), attachments... (not sure about the tags and flags). If the format of those files is opened, it would be great to have such compatibility

Of course, that also works in the other way: from the file system to the mail program (it imports the mail to the folder you drop it)

Last edited by chipukb on Thu May 28, 2009 6:27 pm, edited 1 time in total.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: [KMail] Drag email to file system

Sat May 30, 2009 11:22 am
Hmm, basically the same functionality as "Save as..." but triggered by a Drag&Drop operation.

This sounds like a Junior Job to me (i.e. Junior Jobs are development tasks that should be doable by a new developer without deep knowledge of the code base).

KMail would have to advertise a file URI as one of the drag "formats" it is capable of and if the receiver chooses this format, it would save the mail to a temporary file and pass that file's URI to the receiver.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]