Subj : src/sbbs3/email.cpp To : Git commit to main/sbbs/master From : Rob Swindell (on Windows 11) Date : Tue Feb 03 2026 05:51 pm https://gitlab.synchro.net/main/sbbs/-/commit/40f9eb726327da544809ea39 Modified Files: src/sbbs3/email.cpp Log Message: Fix error message reported when smb_addmsghdr() fails here We were closing the message base before calling smb_freemsgdat() in the error condition, which is going to always fail with the error: -206 info=smb_locksmbhdr msgbase not open Which was then overriding the actual/initial error reported by smb_addmsghdr(). The fix is to report the error before doing anything else and then call smb_freemsgdat() before closing the message base. .