RSS/Atom feed Twitter
Site is read-only, email is disabled

Bug 596066 GIMP/File/Send by Email should use xdg-email

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Bug 596066 GIMP/File/Send by Email should use xdg-email xianghang liu 21 Jul 15:10
  Bug 596066 GIMP/File/Send by Email should use xdg-email Chris Mohler 22 Jul 20:22
xianghang liu
2010-07-21 15:10:11 UTC (almost 15 years ago)

Bug 596066 GIMP/File/Send by Email should use xdg-email

Hi,

I think the current implementation is in plug-ins/common/mail.c. A dialog box is created to collect information about 'from', 'to', 'filename' etc and sendmail command is called to send the mail. Now this dialog box only needs to collect the filename and after that 'xdg-email --attach ' command needs to be called.

However, I am not quite sure with this. Are there any mistakes?

Cheers, lxh

Chris Mohler
2010-07-22 20:22:43 UTC (almost 15 years ago)

Bug 596066 GIMP/File/Send by Email should use xdg-email

On Wed, Jul 21, 2010 at 8:10 AM, xianghang liu wrote:

Hi,

I think the current implementation is in plug-ins/common/mail.c. A dialog box is created to collect information about 'from', 'to', 'filename' etc and sendmail command is called to send the mail. Now this dialog box only needs to collect the filename and after that 'xdg-email --attach '  command needs to be called.

Yes - calling 'xdg-email --attach ' should be enough for most linux setups [0].

I looked at this a long time ago. See this thread: http://www.mail-archive.com/gimp-developer@lists.xcf.berkeley.edu/msg18847.html

I was just beginning to study C at that time, so you should probably ignore any code from me though ;)

Chris

[0] Except that thunderbird has a long-standing bug that causes it to drop xdg-email attachments, but that is a separate issue. Evolution works perfectly the last time I checked.