Programmatic Mail reader

Kishore Seshadri kseshadr at quasar.intel.com
Fri Jul 27 07:06:05 AEST 1990


In article <1990Jul26.155303.15563 at mips2.cr.bull.com>, peters at mips2 (Dan Peters) writes:
>
>	This is my first post to this newsgroup, I hope it is appropriate.
>What is the easiest way to programmaticly do the following:
>
>	read mail,
>	dump it to a file (i.e. log)
>	delete the messages read (so they arn't logged again),
>	quit mail
>
>
>I have tried to programmaticly read mail with MAILX on a Hewlett Packard
>machine running HP-UX (BSD 4.3 based i believe) with the following .mailrc

I know nothing whatsoever about HP/UX but using Berkeley mail you can
direct your mail to a file using the .forward file mechanism. If this works
on your system it may be a viable solution.

Kishore Seshadri

===============================================================================
Kishore Seshadri (Speaking for myself)      Intel Corp., Santa Clara, CA
CSNET: kseshadr at mipos3.intel.com ARPA: kseshadr%mipos3.intel.com at relay.cs.net
UUCP:{amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!kseshadr



More information about the Comp.unix.questions mailing list