SUMMARY:new mail
Alok joshi (alok@giasbma.vsnl.net.in)
Thu, 20 Mar 1997 10:42:11 +0530 (IST)
hello everybody,
The proble which i had put up was that the user when he logins should get wether he has mail or new mail.I am thankful to the following people for
their replies:
Vasu Srisanan <vasu@center.oaep.go.th>,Gonzo Bushman <gonzo@icon.net>,
Mohammed Ali <ali@platinum.com>,Sezgin.Askin@gantek.com.tr.
Most of the replies were same and doing the following should help:
1) '/usr/ucb/biff y' in the .profile if you have cshell
2) else try this script:
/bin/mail -E
switch ( $status )
case 0:
echo "You have new mail."
breaksw;
case 2:
echo "You have mail."
breaksw;
endsw
With best regards
Alok Joshi
Manager ( Engg )
Internet , VSNL
Ph O +91 22 4313879
R +91 22 7680308