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:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- To unsubscribe e-mail to: [email protected] 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
