• exec/sendmsg.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Sep 9 10:02:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/17b42ea2d1a0d1bf97f61092
    Modified Files:
    exec/sendmsg.js
    Log Message:
    Use sysop name instead of user.email if user.number == 0 (run from JSexec)The reported issue didnt mention JSexec, but I assume that's what was meantby "from the command line". (?)I honestly forgot this script even existed. It's using the old deprecatedSMTP SOML command to send a telegram to a user. There are much better waysto do that for the local system (e.g. calling system.put_telegram), but Isuspect this script existed since before the JS object model had supportfor sending user telegrams.Anyway, this was a simple change to fix issue #623, but really thisscript should probably be rewritten or removed from the repo (we useMSP for sending inter-BBS instant messages these days instead of SMTP/SOML).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)