home *** CD-ROM | disk | FTP | other *** search
- *** open mail file shared ***
- NET_USE("mail", .F. , 0)
- *** find a message that was not received yet ***
- LOCATE FOR dest = GETE("NETNAME") .AND. .NOT. received
- DO WHILE .NOT. EOF()
- ? "Message From: ", sender
- ? "Date, time : ", sdate, stime
- ? "Message : ", message
- *** set receipt statistics ***
- REC_LOCK(0)
- REPLACE rdate WITH DATE(), rtime WITH TIME(), RECEIVED WITH .T.
- UNLOCK
- *** pause then continue to next message, if any ***
- WAIT
- CONTINUE
- ENDDO
- *** Close file and continue with application ***
- USE
- RETURN
-
-