Subj : User setting to read new or unread netmail on login To : GitLab note in main/sbbs From : Rob Swindell Date : Fri Dec 05 2025 15:46:53 https://gitlab.synchro.net/main/sbbs/-/issues/1027#note_7935 Netmail, e-mail, and local mail are all treated the same when it comes logging-on and reading. If the user has unread personal mail (of any kind), they're prompted if they want read their mail upon logon. The logic is in logon.cpp (`mailw` is total mail waiting and `mailr` is the amount of already read mail waiting): ``` if (text[ReadYourMailNowQ][0] && mailw) { if ((mailw == mailr && !noyes(text[ReadYourMailNowQ])) || (mailw != mailr && yesno(text[ReadYourMailNowQ]))) { uint32_t user_mail = useron.mail & ~MAIL_LM_MODE; int result = readmail(useron.number, MAIL_YOUR, useron.mail & MAIL_LM_MODE); user_mail |= result & MAIL_LM_MODE; if (user_mail != useron.mail) putusermail(&cfg, useron.number, useron.mail = user_mail); } } ``` There are no pointers for mail, but each message its own on "read" flag, so we do know when (and how many) unread mail messages are waiting for the user. I'm not sure what you mean by "parrot back to the BBS". --- SBBSecho 3.32-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .