Doing work using strace seems that libreOffice is calling
/usr/bin/xdg-email and passing parameter
mailto:?subject=testemail&attach=file:///tmp/lu1757371xdt6i.tmp/lu1757371x
dt6m.tmp/testemail.odt
That isn't working nothing beyond it work.
Running that same thing afterwards didn't work, since file was deleted, but
then manually copied the odt file to location. This worked to a degree, but
parameter $1 was mailto:?subjct=testemail
Rest of info wasn't passed. Putting it in "'s worked.
Data would pass to my WSENDTO script and would get attachment, thou not
subjest. Not sure if WSENDTO has option for other than attachment??
WSENDTO shell script.
#!/bin/bash
/home/msetzerii/.wine/drive_c/PMAIL/Programs/WSENDTO.EXE $(echo "$1"
|sed 's_^.*file://__g')
That strips everything but path to file.
Still since it doesn't get passed from xdg-email it didn't work.
Renamed the xdg-email, and created a symbolic link to WSENDTO and it works.
Not sure why the Internet email option doesn't directory call WSENDTO, but
uses xdg-email?
Will put it back to the original, since not sure if the xdg-email might have other
uses. Seems to be dated back to 2010??
But interesting. My macro seems to work, and perhaps someone has detailed
option of the WSENDTO beyond just sending filename.
Sometime things showed up in To: or Subject: lines, so must be something.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
--
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
- [libreoffice-users] Send email option - more info? · Michael D. Setzer II
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.