Email Files Thunderbird - Add Details

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 very simple service menu script, to email one or more files with Thunderbird to any address or to a given address, which i assume is used as a "backup" space.
The subject is automatically updated according to the attached files and, in case you choose to send to your specific email address, details about sending date, user and host are automatically added in the body.

There are other similar service menus around, but i wanted a script that allows to attach more than one file at one time and that automatically updates the subject line.

USAGE: pretty straightforward.. Just make the two .sh files executable (if necessary) and place them in a directory of your path, for example /home/YOUR_USERNAME/bin. Place the service menu file EmailWithThunderbird.desktop in /home/YOUR_USERNAME/.kde/share/apps/konqueror/servicemenus

IMPORTANT: In file EmailWithThunderbirdToMyAddress.sh, you need to specify your email address in to=.... (that is, where i wrote: YOUR_EMAIL_ADDRESS@DOMAIN.NAME)

~~~~~~~~ Done! ~~~~~~~~

Tested on OpenSuSE 10.2, KDE 3.5.6

Ratings & Comments

4 Comments

elkuku

Works very well, thanks a lot :)

fungs

Please see the Portland projekt, especially xdg-email http://portland.freedesktop.org/wiki/

G0NZO

Thanks fungs for the tip. Actually xdg-email appears to be broken in the --attach option, at least on SuSE. I have the latest version installed on my system, which is OpenSuse 10.2, but there's no way to successfully attach any file, even when its filename contains no spaces or special chars. I tried with absolute paths, relative paths, single/double quotes, prefix file://. Nothing works. No error messages if the file exists (while i do get errors if the path is pointing to a non existing file). All the other fields are correctly inserted into the default email client but i have no way to test the attachments... I read about identical problems on the buglists of xdg-email so i guess its a well known bug.

G0NZO

There is a bug in the command line itself for thunderbird, that shows up whenever the filename of one of the attachments has a '-'. The problem persists even escaping the -. Debugging from the command line outputs the message "Warning: unrecognized command line flag - ". Now, since this is a problem of 'thunderbird' command itself, it's kinda hard to trace and solve it. My service menu is simply invoking 'thunderbird' command and the issue is not unrelated to the service menu itself. I'll look further into that and will post an update if i can solve.

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

More Dolphin Service Menus from G0NZO:

Enqueue one or more files in Audacious
G0NZO
last update date: 14 years ago

Score 5.7

Edit With Kwrite Service Menu
G0NZO
last update date: 17 years ago

Score 5.0

Convert .ps to .pdf service menu
G0NZO
last update date: 17 years ago

Score 5.0

DON'T Let It Burn! (1-click Timer)
G0NZO
last update date: 18 years ago

Score 5.0

Disable - Enable Touchpad
G0NZO
last update date: 18 years ago

Score 5.0

Conversion Tools
G0NZO
last update date: 18 years ago

Score 5.0

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: 20 years ago

Score 5.0



System Tags