Re: Problems after recent update of sychronet 3.20 files By: Amessyroom to Digital Man on Sun Oct 13 2024 10:59 am
Updated. But still see problem.
Can you paste the error message(s) again? --
digital man (rob)
Synchronet/BBS Terminology Definition #8: BinkP = BinkD Protocol
2) I added calls to sendmail.js to try and page me via
email to SMS gateway. This worked before 10/11/2024.
paging sysop calls sendmail.js (per local configuration
in chat.ini)
chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" -- XXXXXXXXXX@txt.att .net < /home/sbbs/ctrl/pageme chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" -- XXXXXXXXXX@txt.att .net < /home/sbbs/ctrl/pageme
says it cannot compile. 1st line is a she-bang !# to jsexec
is that the correct way the file should be ?
Paging Amessyroom...!JavaScript sendmail.js line 1: SyntaxError: illegal charac t
er
!ERROR compiling /sbbs/exec/sendmail.js
Back to this issue: I don't believe this ever worked. sendmail.js is only designed to be run from jsexec (not from sbbs). I would expect sendmail.js to fail in exactly this way if configured like you showed in chat.ini.I'll give that a try, I have received text messages this way. So it is confusing. I think you are probably correct (as always), so I will see
So, maybe you just never tested this before? sendmail.js when used as intended (invoked from a *nix shell which in turn uses jsexec to execute the script) still works as it always has.
If you want to send an email or netmail from SBBS, the proper script to invoke would be postmsg.js, not sendmail.js.
--
I'll give that a try, I have received text messages this way. So it is confusing. I think you are probably correct (as always), so I will see
what I can do with postmsg.js and let you know if it works for me.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 995 |
Nodes: | 10 (0 / 10) |
Uptime: | 199:10:57 |
Calls: | 13,022 |
Files: | 186,574 |
Messages: | 3,284,719 |