• Determining the last read messages in the mail sub

    From Khelair@TINFOIL to All on Tuesday, August 11, 2015 12:04:16
    Just a restatement of what I had asked in IRC:
    10:55 < khelair> msg_area.sub["mail"] is not a preferred method of accessing
    what the last_msg or last_read pointer might be for the mail
    sub, is it?
    11:07 < khelair> would I be correct in assuming that the Mail sub, in the
    standard shell, utilizes the applicable message header
    attributes to glean where the unread ones are at?


    though I misphrased it pretty poorly at the beginning. What I meant to say was 'If msg_area.sub["mail"] is not a potential method of accessing the last_msg or last_read pointers, then would I be correct in assuming that the mail sub, in the standard shell, utilizes applicable message header attributes to clean where the unread ones are at?

    TIA

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Digital Man to Khelair on Tuesday, August 11, 2015 21:34:30
    Re: Determining the last read messages in the mail sub
    By: Khelair to All on Tue Aug 11 2015 12:04 pm

    Just a restatement of what I had asked in IRC:
    10:55 < khelair> msg_area.sub["mail"] is not a preferred method of accessing
    what the last_msg or last_read pointer might be for the mail
    sub, is it?


    No. "mail" is not a sub-board and mail does not have the concept of a 'last read' pointer.

    11:07 < khelair> would I be correct in assuming that the Mail sub, in the
    standard shell, utilizes the applicable message header
    attributes to glean where the unread ones are at?

    The attributes (stored in each message header) is how you determine which mail message has been read by the recipient and which have not.

    though I misphrased it pretty poorly at the beginning. What I meant to say was 'If msg_area.sub["mail"] is not a potential method of accessing the last_msg or last_read pointers, then would I be correct in assuming that the mail sub, in the standard shell, utilizes applicable message header attributes to clean where the unread ones are at?

    There are no "pointers" for the mail message base.

    digital man

    Synchronet "Real Fact" #76:
    Rob Swindell still has dozens of BBS-related magazines in his possession. Norco, CA WX: 68.9°F, 72.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs