Article View: comp.mail.misc
Article #554Re: Checking for new mail
From: Dan Heller
Date: Tue, 22 Aug 1989 05:28
Date: Tue, 22 Aug 1989 05:28
17 lines
1309 bytes
1309 bytes
In article <2847@ur-cc.UUCP> Mark Sirota <msir@cc.rochester.edu> writes: > In article <122772@sun.Eng.Sun.COM> argv@sun.UUCP (Dan Heller) writes: > >In article <105@csnz.co.nz> paul@csnz.co.nz (Paul Gillingwater) writes: > >> 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 > >> Any ideas? Code fragments would be appreciated.... > > > > So, I wrote a program called "watch" which watches your mailbox and, > Similarly, I wrote a program which you call from your .forward file The reason that I didn't choose to do it this way is because there are some MTAs on smaller machines that don't recognize .forward. watch is more portable because it doesn't have this dependency. dan <island!argv@sun.com> ----- My postings reflect my opinion only -- not the opinion of any company.
Technical Details
Message-ID:
<122936@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!newstop!sun!eureka!argvReferences:
<105@csnz.co.nz> <122772@sun.Eng.Sun.COM> <2847@ur-cc.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!newstop!sun!eureka!argv From: argv%eureka@Sun.COM (Dan Heller) Newsgroups: comp.mail.misc,comp.unix.xenix Subject: Re: Checking for new mail Message-ID: <122936@sun.Eng.Sun.COM> Date: 22 Aug 89 05:28:18 GMT References: <105@csnz.co.nz> <122772@sun.Eng.Sun.COM> <2847@ur-cc.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: argv@sun.UUCP (Dan Heller) Lines: 17