Bug#734353: libexo-1-0: does not handle email body for mutt
Version: 4.16.0-1 On Mon, 6 Jan 2014 "Alexandra N. Kossovsky" wrote: I use mutt as e-mail client. mutt itself perfectly handles mailto: URLs, including the mail body. When using it via xfce, the mail body is gone. This bug was fixed in Xfce 4.16.
Bug#734353: libexo-1-0: does not handle email body for mutt
Version: 4.16.0-1 On Mon, 6 Jan 2014 "Alexandra N. Kossovsky" wrote: I use mutt as e-mail client. mutt itself perfectly handles mailto: URLs, including the mail body. When using it via xfce, the mail body is gone. This bug was fixed in Xfce 4.16.
Bug#734353: libexo-1-0: does not handle email body for mutt
On Mon, 6 Jan 2014 "Alexandra N. Kossovsky" wrote: > > I use mutt as e-mail client. mutt itself perfectly handles mailto: > URLs, including the mail body. When using it via xfce, the mail body is gone. Please find below a patch that fixes this. It also moves the "-s subject" option to the front. As documented in the man page, the "-a attachments" must be the last option, and it can take multiple arguments. The '--' delimiter is used to mark the end of the options; the remaining arguments are the recipients. Passing the message body is possible by adding a mailto uri there, too. --- exo-compose-mail-1.orig 2020-07-12 10:46:48.390415327 +0200 +++ exo-compose-mail-1 2020-07-13 23:56:48.089760063 +0200 @@ -221,16 +221,20 @@ } elsif ($style eq 'mutt') { # generate the parameters for mutt + $subject and push (@argv, '-s', $subject); for my $cc (@cc) { push (@argv, '-c', $cc); } for my $bcc (@bcc) { push (@argv, '-b', $bcc); } - for my $uri (@attachments) { - push (@argv, '-a', $uri->path ()); + if (@attachments > 0) { + push (@argv, '-a'); + for my $uri (@attachments) { + push (@argv, $uri->path ()); + } } - $subject and push (@argv, '-s', $subject); + push (@argv, '--'); for my $to (@to) { push (@argv, $to); } @@ -239,6 +243,8 @@ # any, just append an empty string and mutt # will prompt for the To: address (not @to) and push (@argv, ''); + + $body and push(@argv, 'mailto:?body=' . uri_escape($body)); } else { print STDERR "$0: Unsupported style '$style'.\n";
Bug#734353: libexo-1-0: does not handle email body for mutt
Package: libexo-1-0 Version: 0.6.2-5 Severity: normal I use mutt as e-mail client. mutt itself perfectly handles mailto: URLs, including the mail body. When using it via xfce, the mail body is gone. Is it possible just pass the mailto URL to mutt without parsing/composing it? I see that the body is explicitly dropped in /usr/lib/i386-linux-gnu/xfce4/exo-1/exo-compose-mail-1 in case of mutt and I do not understand why it does not pass the mailto: as-is. -- System Information: Debian Release: 7.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libexo-1-0 depends on: ii libatk1.0-0 2.4.0-2 ii libc6 2.13-38+deb7u1 ii libcairo2 1.12.2-3 ii libexo-common 0.6.2-5 ii libexo-helpers 0.6.2-5 ii libfontconfig1 2.9.0-7.1 ii libfreetype62.4.9-1.1 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-02.33.12+really2.32.4-5 ii libgtk2.0-0 2.24.10-2 ii libice6 2:1.0.8-2 ii libpango1.0-0 1.30.0-1 ii libsm6 2:1.2.1-2 ii libx11-62:1.5.0-1+deb7u1 ii libxfce4util4 4.8.2-1 ii multiarch-support 2.13-38+deb7u1 Versions of packages libexo-1-0 recommends: ii liburi-perl 1.60-1 libexo-1-0 suggests no packages. -- no debconf information -- Alexandra N. Kossovsky OKTET Labs (http://www.oktetlabs.ru/) e-mail: sa...@oktetlabs.ru -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org