Attach to Email Service Menu

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
A service menu for Konqueror that works in conjunction with a python script to allow the user to select multiple files and add them as attachments to an email using whatever mail client is configured. If a directory is selected, then its contents will be attached to the email recursively.

To Install:
0) tar -jxf attach-to-email-servicemenu.tar.bz2

1) cd attach-to-email-servicemenu

2) ./install.sh --remove-old
#Get rid of previous installations.

3) ./install.sh [--global-install|--local-install]
#Depending on whether you want system-wide or not.

The Readme file included explains how to set this up for different email clients.
Last changelog:

0.7.5 New Italian translation by Giurerro.

0.7.4 New Russian translation by Kalimullin Arthur and completed French translation by LaFleche.

0.7.3 New German translation by Adrian Freihofer and partial French translation by LaFleche. Also added instructions for KMail.

0.7.2 New Hungarian translation by Paul Körössy, some minor cleaning, and instructions for Mozilla Thunderbird.


Ratings & Comments

109 Comments

reggler

Hi There, I can't get this working with KDE 4.2.2 :(

pkorossy

After applying this: http://www.kde-apps.org/content/show.php/KDE4-servicemenus?content=80131 and modifying 'kde-config' to 'kde4-config' in the following lines in attach-to-email it works now in KDE4: emailclient="$(kde-config --prefix)/bin/kmail -s %s --body %B --attach %A" kdeprefix=commands.getoutput("kde-config --prefix") kdelocalprefix=commands.getoutput("kde-config --localprefix") But still have problem: I get an error message with wrong character in the filename if the name of the attachment contains '_' characters. It would be nice this servicemenu to be updated for KDE4.

nadavkav

i had to remark lines 105 >> 109 #if os.path.isabs(path): #if find(emailclient,"kmail")!=-1 or find(emailclient,"evolution")!=-1: #kmail and evolution will interpret http char codes even for local files; #this compensates for that. #path=urlsafe(path) for attachments to work fine in kmail and copy the generated .desktop file from the current folder to /usr/share/kde4/services/ServiceMenus (for global kde4 availability) thank you for a beautiful and useful service menu :-)

ptitpoul

For using with Mozilla Thunderbird 2 (Kubuntu gutsy), I had to change the python script: - line 109, no \' around %s : attachments.append("%s" % (path)) - line 117, comma separation and "file://" : attachments=join(attachments,",file://") Good servicemenu, but a little heavy for the translation system in my opinion: for 4 sentences, you may include them in the python script rather than to create a lot of tiny locale folders. Why did you choose ~/.kde/bin rather than the common ~/bin ? As ~/bin is already in the PATH variable, you don't have to modify attachToEmail.desktop during the install process (more simple). Regards

imr

Can someone explain to me in what it is different from the already existing option in konqui to send file in an email, directories being zipped?

AmyRose

I think the one that comes with your Konqueror installation only supports KMail, while this service menu lets you use any e-mail client.

linuksamiko

" Pain relief

muttoni

it is funamental that it is included as a KDE standard feature in future releases

BenNavis

This should be integrated into KDE! Nice feature! b.

linuxcolor

Ya ...... Good Application........

LaFleche

#: attach-to-email:109 msgid "Ce fichier devrait être en pièce jointe : " msgid_plural "Ces fichiers devraient être en pièces jointes : " msgstr[0] "Singular translation:" msgstr[1] "Plural translation:"

dschrader

Thanks for your contribution. Could you also translate the other messages in the file? A file is attached. Some files are attached.

LaFleche

A file is attached -> Un fichier est en pièce jointe Some files are attached.-> des fichiers sont en pièces jointes

thelinxportal

Great work, and I agree should be a KDE default.

anupamsr

This should be a default behaviour of KDE.

kkrizka

I've been looking for something like this!! They should include it in the default KDE install, it's very useful.

gwolf

Nice work, do you plan to add support for thunderbird as well? It would be really nice ;-)

BorgQueen

It will only attach 3 items to an email. Is there a set limit or something? The BorgQueen

dschrader

It works for me. What email client are you using?

BorgQueen

Kmail, kde 3.3 on Debian 3.1 Sarge and Ark Linux

dschrader

Try running the script directly from a command line: $ attach-to-email "/absolute/path/1" "/absolute/path/2" and see if it gives any useful information.

BorgQueen

It did. Oddly enough, it said the script could not be found. Why it partially worked is beyond me. As soon as I changed perms wrx,r,r (it was already executable), everything works. Go figure. Thanks for the help and the great service menu. It really should be come standard service menu for KDE. If you have a wish list, the idea of compressing attachments into a single (compressed) directory would be great. Its better to send attachments in a compressed file for obvious reasons. Thank you very much for your help. The Borg Queen

geppo78

Could you send me the command to use thunderbird as client??

carlops

To use thunderbird, change the Exec command in the servicemenu to: Exec=/usr/bin/mozilla-thunderbird -remote "xfeDoCommand(composeMessage,attachment='file://%U')" Cheers PS I use Debian, hence the mozilla-thunderbird command. Others might use thunderbird

superheld

i like this small tool very mutch. great! but now i using suse 9.2, installd via internet. if i take 2 ore more files, only the first is sending to the kmail. the others are displayd in the textarea of the mailer, but not in attached files.

Pling
0 Affiliates
Details
license
version 0.7.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 21 years ago

Score 5.0



System Tags