[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1058.0. "I want to display unread mail count when log in" by DEKVC::DAEHEEKIM () Thu Jul 16 1992 08:45

    
    Hello.
    
    I want to get the unread/unsent/total docnument(s) count.
    I know the ALL-IN-1 command , <FOR CAB$ rse\GET OA$SEL_COUNT,
    but I want to display the counts when the user log in.
    
    I know there is an asset concerning about this , but I want to 
    get the idea.
    
    Hope your help.
    
    - DaeHee	
T.RTitleUserPersonal
Name
DateLines
1058.1They read PENDING.DATFAILTE::LAAHSAn accumulation of CeltsThu Jul 16 1992 10:5914
    If the ALL-IN-1 username is the same as the VMS username then
    OA$LIB:MAILCOUNT.EXE will do what you want.
    
    If the names are different then the CHECKMAIL asset will do what you
    want.
    
    What BOTH utitlities effectively do is to read the users record from
    OA$DATA:PENDING.DAT where the current mail count is stored. The record
    has a key of MAIL <username>.
    
    FWIW, interactively you can just do a <GET OA$MAIL_COUNT do get teh
    current unread count.
    
    Kevin