[Portland] [PATCH] xdg-email - add Thunderbird attachments support

Lei Zhang thestig at google.com
Tue Dec 18 11:29:55 PST 2007


Hi,

In http://portland.freedesktop.org/wiki/EmailConfig, it says Moziila
Thunderbird does not support email attachments from xdg-email.

It turns out Thunderbird disabled attachments via a mailto: URL on
purpose, because they believe it is not secure. [1]

I'm proposing the following workaround: (see attachment)

In open_kde() / open_gnome(), look up the email client kde/gnome is
trying to run. If the client contains Thunderbird in its name, then
call run_thunderbird(), which parses the mailto url, reformats it in a
way that Thunderbird accepts, and then run Thunderbird.

open_xfce() does not need to do this because exo-open already does this. [2]

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=99055#c6
[2] http://svn.xfce.org/svn/xfce/libexo/trunk/exo-helper/helpers/exo-compose-mail-0.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdg-email-thunderbird.diff
Type: text/x-patch
Size: 3350 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20071218/57625aef/attachment.bin 


More information about the Portland mailing list