^oops missing "
system"mail -s "Error: foobar" myself@me.com"
^oops missing "
system"mail -s "Error: foobar" myself@me.com"
If you cant use that, or you want something slightly less straightforward :-) then TorQ has an email lib (its a wrapper around libcurl). It has builds for l32, l64, m32, m64, w32. It would be fairly straight forward to strip it out of TorQ if required. Youll need the relevant libs:
https://github.com/AquaQAnalytics/TorQ/tree/master/lib
This file will show some of the variables and how to initialise it etc.:
https://github.com/AquaQAnalytics/TorQ/blob/master/code/common/email.q
Its documented here in section 6.5:
https://github.com/AquaQAnalytics/TorQ/blob/master/AquaQTorQ.pdf
Thank you Manish and Jonny!