Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    6f4fd22a
    Use sysop name instead of user.email if user.number == 0 (run from JSexec) · 6f4fd22a
    Rob Swindell authored
    The reported issue didnt mention JSexec, but I assume that's what was meant
    by "from the command line". (?)
    
    I honestly forgot this script even existed. It's using the old deprecated
    SMTP SOML command to send a telegram to a user. There are much better ways
    to do that for the local system (e.g. calling system.put_telegram), but I
    suspect this script existed since before the JS object model had support
    for sending user telegrams.
    
    Anyway, this was a simple change to fix issue #623, but really this
    script should probably be rewritten or removed from the repo (we use
    MSP for sending inter-BBS instant messages these days instead of SMTP/SOML).
    6f4fd22a
    History
    Use sysop name instead of user.email if user.number == 0 (run from JSexec)
    Rob Swindell authored
    The reported issue didnt mention JSexec, but I assume that's what was meant
    by "from the command line". (?)
    
    I honestly forgot this script even existed. It's using the old deprecated
    SMTP SOML command to send a telegram to a user. There are much better ways
    to do that for the local system (e.g. calling system.put_telegram), but I
    suspect this script existed since before the JS object model had support
    for sending user telegrams.
    
    Anyway, this was a simple change to fix issue #623, but really this
    script should probably be rewritten or removed from the repo (we use
    MSP for sending inter-BBS instant messages these days instead of SMTP/SOML).