• src/sbbs3/email.cpp src/sbbs3/scfg/scfgsys.c src/sbbs3/scfgdefs.h scfg

    From Rob Swindell (on ChromeOS) to Git commit to main/sbbs/master on Sunday, February 26, 2023 16:41:56
    https://gitlab.synchro.net/main/sbbs/-/commit/f46aee59cc8a85f17565e179
    Modified Files:
    src/sbbs3/email.cpp src/sbbs3/scfg/scfgsys.c src/sbbs3/scfgdefs.h scfglib1.c scfgsave.c
    Log Message:
    Add optional/configurable feedback module

    Most sysops didn't know it, but if exec/feedback.* existed, it would be executed just before any user sent an email to the sysop (user #1),
    excluding new user validation requests:
    - make this module name configurable and loadable from mods
    - support JS module here (exit(1) to abort the feedback)
    - invoke for email being sent to *any* sysop (not just user #1)
    - don't invoke the module when sending *from* a sysop account

    This fixes issue #16