home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!noc.near.net!ileaf!leafusa!bcking
- From: bcking@HQ.Ileaf.COM (Christine King)
- Subject: Re: How to repeat "new Mail message" ?
- Message-ID: <C17rnz.4Co@HQ.Ileaf.COM>
- Sender: usenet@HQ.Ileaf.COM
- Nntp-Posting-Host: natasha
- Organization: Interleaf, Inc.
- References: <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>
- Date: Thu, 21 Jan 1993 17:09:34 GMT
- Lines: 20
-
- To check for new mail any time you like, try this:
-
- $! CHECKMAIL.COM
- $! Is there any mail for me?
- $!==
- $ Msg_Status = f$environment("message")
- $ set message/nofac/noid/noseverity/notext
- $ mail
- dir newmail
- exit
- $ set message 'Msg_Status'
-
-
- If you only want the number of messages, not the dir listing too, just
- leave the 'dir newmail' line out of the comfile.
- --
- Christine King, bcking@ileaf.com
- Interleaf, Inc. | My opinions are not | "Time is like that,
- 9 Hillside Avenue | necessarily those of | except for the cannon
- Waltham MA 02154 USA | Interleaf, Inc. | and the donut." -Dilbert
-