Article View: comp.mail.misc
Article #549Checking for new mail
From: Paul Gillingwater
Date: Mon, 21 Aug 1989 03:31
Date: Mon, 21 Aug 1989 03:31
16 lines
1238 bytes
1238 bytes
Hi, What's the best way to check for the arrival of new mail? I'm writing in C using SCO Xenix 2.3.1, but no doubt other approaches would be helpful too. I want a menu to display an indicator saying that new mail has arrived when it comes into the user's mailbox. It should go away when they have read it. I'd like it to look every so often, maybe once per minute -- but it should check each time a new menu is selected. Any ideas? Code fragments would be appreciated.... -- Paul Gillingwater, Computer Sciences of New Zealand Limited Domain: paul@csnz.co.nz Bang: uunet!vuwcomp!dsiramd!csnz!paul Call Magic Tower BBS V21/23/22/22bis 24 hrs NZ+64 4 767 326 SpringBoard BBS for Greenies! V22/22bis/HST NZ+64 4 767 742
Technical Details
Message-ID:
<105@csnz.co.nz>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!munnari.oz.au!comp.vuw.ac.nz!dsiramd!csnz!paulShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!munnari.oz.au!comp.vuw.ac.nz!dsiramd!csnz!paul From: paul@csnz.co.nz (Paul Gillingwater) Newsgroups: comp.mail.misc,comp.unix.xenix Subject: Checking for new mail Summary: What's the best way to check for new mail in a program? Message-ID: <105@csnz.co.nz> Date: 21 Aug 89 03:31:31 GMT Reply-To: paul@csnz.co.nz (Paul Gillingwater) Organization: Computer Sciences of NZ Limited Lines: 16