Quote:
Originally Posted by
panknil
Dear all,
how can i send mail using mailx or mail command?do i need to configure anything for sending mail?please help me.Its urgent.
the version i use is
Linux TDM 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Thanks
Regards,
Pankaj
Hey
YOu don;t need to configure any thing, but ya make sure that your varsion have reference to command mail or mailx.
cat file1 | mailx -s $Subject $MailRecievers
file1 having the contents to be mailed.
$Subject having title of the mail
$MailRecievers haveing names of the mail recievers.
or
echo "Alter, Boss is there !! " | mailx -s "Boss" "abc.com"
Hope you got this !!
Otherwise goto "man mail" and explore it !
