Re: How to send email from dolphin?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: Main PLUG discussion list
Subject: Re: How to send email from dolphin?
What you are looking at is a service menu which is created/handled by
desktop files located in /usr/share/kservices5/ServiceMenus

The particular service menu that creates the "Send as Email Attachment"
is kmail_addattachmentservicemenu.desktop and it specifically calls kmail.

If you would like to change it's behavior just copy the service menu to
you local service menu location which is
~/.local/share/kservices5/ServiceMenus/

You'll probably need to create the ServiceMenus directory first.

Once it's copied over, any changes that you make to the file will
override the default behavior. You could simply change it to something
like:

-------------------------------

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
Actions=sendto;

[Desktop Action sendto]
Icon=kmail
Name=Send as Gmail Attachment
Exec=x-www-browser http://gmail.com/

-------------------------------

The biggest problem I think you will have is actually automatically
attaching your file since you are calling a web based email. If anyone
has a solution to opening gmail and adding an attachment at the same
time I would be interested in knowing the solution. I think you might
be better off setting up a GUI based email program and pointing it at
gmail's servers. Then you will be able to do exactly what you want.

The people at KDE really should change the kmail part of the default
service menu to be xdg-email instead so it would at least use your
preferred email program rather than hard coding it to kmail. Of course
that service menu does come from the kmail package, so you can't blame
them too much.

Brian Cluff

On 11/26/2016 05:29 PM, wrote:
> How can I configure dolphin to use gmail instead of kmail
> to send an image viewed with dolphin?
>
> AND/OR what do I need to do to configure kmail to use it.
>
> Please refer to the screenshot(s) here:
> http://www.upquick.com/temp/dolphin2kmail2.jpg
>
> As you can see, when I right-click on an image, and tap
> "Actions" one of the options is to "Send as Email Attachment"
> and that causes kmail to open with the target image attached.
>
> But when I try to send the attached image via email, I am
> then prompted to "Create Outgoing Account - KMail" and I cannot
> find any instructions on how to do that.
>
> In any case, I would prefer to be able to use Gmail instead of Kmail.
>
> How can I get one or the other to work?
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss