Date: prev next · Thread: first prev next last
2022 Archives by date, by thread · List index


On 7/18/22 21:35, Michael D. Setzer II wrote:
[...]
Thanks for the reply. I have LibreOffice 7.2.7.2 version as
loaded by default for my Fedora 35 and also have
LibreOffice 7.3.4.2 downloaded from libreoffice.

With both I have tried a simple saved file with the word
test in it. File is saved. Have Tools / Options / Internet /
Email set to /usr/bin/WSENDTO (Thou I did also try using
the direct path to program as well.).

/usr/bin/WSENDTO has this.
#!/bin/bash
echo $0 $1 $2 $3
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDT
O.EXE $1

Strange thing is that absolutely nothing happens. No box
opens, and nothing in way of a error message is showing
up.. But with my simple macro - running it opens the
email client and has the document attached with no
problem...

LO doesn't actually call /usr/bin/WSENDTO with the document's pathname as an argument (as one might expect). What rather happens, for better or worse (see CmdMailSuppl::sendSimpleMailMessage at <https://git.libreoffice.org/core/+/refs/heads/master/shell/source/cmdmail/cmdmailsuppl.cxx#112>), is that LO calls its senddoc helper script (see <https://git.libreoffice.org/core/+/refs/heads/master/shell/source/unix/misc/senddoc.sh>) with lots of arguments, among them `--mailclient` `/usr/bin/WSENDTO`.

And that senddoc script then tries to guess from the given mail client's basename what program that is, and knows how to pass it along all the other arguments, potentially specifying the mail's to, cc, body, attachment, etc. But that senddoc script doesn't know anything about a mail client with basename WSENDTO, so gives up and tries something like xdg-email instead, but which apparently doesn't lead to any success with your setup, either.


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.