[PUSHED] Re: [PATCH] EasyHack #32621 - More robust ExternalMailer support
dsteele at gmail.com
Mon Apr 30 09:33:24 PDT 2012
On Mon, Apr 30, 2012 at 12:23 PM, Dave Steele <dsteele at gmail.com> wrote:
> On Mon, Apr 30, 2012 at 9:57 AM, Jan Holesovsky <kendy at suse.cz> wrote:
>> So I guess that is for the case the user writes something broken into
>> the mailer setting, which results in non-working sending of email.
> No. This is for the case where the user has a valid mailer selected
> which is not specifically supported by senddoc - in my case
I don't think this tweak to the patch is correct.
diff --git a/shell/source/unix/misc/senddoc.sh
index 692930e..f3657e6 100755
@@ -400,6 +400,10 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
+ # The user has tweaked the email settings, and configured something we
+ # do not recognize. Try to be smart, and send the mail anyway, if we
+ # have the possibility to do so.
if [ -x /usr/bin/gnome-open ] ; then
MAILER = /usr/bin/gnome-open
elif [ -x /usr/bin/xdg-open ] ; then
More information about the LibreOffice