SUMMARY:new mail

From: Alok joshi (alok@giasbma.vsnl.net.in)
Date: Wed Mar 19 1997 - 23:12:11 CST


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



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:48 CDT