In the current version of LO, 7.1.2.2 (Ubuntu build, on Ubuntu 20.04 LTS), there has been no change to senddoc since the last installed version (7.0.1.2), but the behaviour is significantly different.
1 Using the supplied senddoc (7.1.2.2), and trying to send a PDF attachment, (a) if Tools/Options/Internet/Email is set as <blank>, Claws-mail freezes, so that no ALT-TAB is possible, and has to be shut down, and I gete a message on Terminal: /home/mbm/.claws-mail/mimetmp/.comments: unlink: Is a directory ** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of file name: Invalid byte sequence in conversion input (b) If Tools/Options/... is set to /usr/bin/claws-mail I get an LO error window 'unable to find a working email configuration and an error on Terminal "/usr/lib/libreoffice/program/senddoc: 387: /usr/bin/claws-mail: Permission denied" (perhaps from AppArmor ???) (c) If Tools/Options/... is set to /usr/bin/xdg-email then focus switches to the Claws-mail client, but no Compose window appears, and no error message is given, but the Claws-mail window is frozen, without focus, and needs to be clicked intofocus before anything more can be done. 2 Using the fix script I suggested some while ago, and trying to send a PDF attachment, if Tools/Options/Internet/Email is set to /usr/bin/claws-mail (my standard client), I get a LO error "unable to find a working email configuration". If I set the option to either /usr/bin/xdg-email or to <blank>, I get an error on my Claws-mail client, File <encoded garbge> doesn't exist or permission denied", and the email clinet is closed altogether when I close the er3ror message window. and sometimes (not always) I get an error on my Terminal, ** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of file name: Invalid byte sequence in conversion input 3 I note that in senddoc, against the "sylpheed | claws" entry, there is ATTACH="${ATTACH:-}${ATTACH:+ }$2" and against xdg-email there is MAILTO="${MAILTO:-}${MAILTO:+&}attachment="$(echo "file://$2" | "${URI_ENCODE}") The use of URI_ENCODE here is probably not right, the UTI file usage (file://$2) certainly doesn't work when passed to Claws-mail, and xdg- email doesn't seem to recognize it either. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1803604 Title: [upstream] "Send -> Document as e-mail" in Writer / Calc does not work To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1803604/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs