2015.05.04 04:29 AM
2015.05.04 08:13 AM
h:hopen `:test.xls;
neg[h] raze .h.edsn `mySheetOne`mySheetTwo!(([] col1:`a`b`c;col2:1 2 3);([] colA:9 8 7;colB:5 6 7));
hclose h;
For mailing, it has to be done by the OS so it depends on your OS and what you have installed on your OS. For example, using mailx on linux, something like this might work:
sendMailAttach:{@[system;"mailx -s \"",y,"\" ",z," < ",x;{-1"Failed to send email - ",x}]};
sendMailAttach["/path/to/file.xls";"header";"recipient@mail.com"]
2015.07.28 05:54 AM
2015.07.28 01:16 PM
No problem, glad it worked.
Can you give details of your mutt solution? out of curiosity
Terry
2015.08.25 01:03 AM
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.