Re: Reading the scan_ptr for the 'mail sub'
By: Khelair to All on Sat Mar 21 2015 10:42 am
> While implementing a new mail interface for my shell, it appears that I'm
> not able to utilize the scan_ptr in the same way that I have been using in
> the message base interface that I've done... There, I was utilizing
> msg_area.sub[bbs.cursub_code].whatever... Here, even when I specify
> manually msg_area.sub['mail'].scan_ptr, I still find it undefined. Can
> anybody tell me if there is a different way to go about locating the current
> message/scan_ptr in mail or should I get ready to toss up some code
> snippets?
> Any assistance or pointers in the right direction are appreciated.
There's no such concept of a 'new-scan pointer' for email. Instead, all mail
waiting for the current user is checked for the 'read' flag. If there is unread
mail, that is when you typically tell the user they have "new mail", not based
on any pointer value.
digital man
Synchronet "Real Fact" #13:
SBBSecho was originally written by Allen Christiansen (King Drafus) in 1994.
Norco, CA WX: 58.7°F, 80.0% humidity, 6 mph SE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
|