bengalliboy
MIS
I would appreciate if some one can point me to the right direction...
I am trying to automate an email process as follows and that works fine:
#!/bin/ksh
echo "This is a Test mail"
recepient="root"
echo $recepient
echo "Job completed okay" | mail $recepient
echo "Mail has been sent"
exit
This emails an internal user but the mails does not go to an email ID some thing like this:
#!/bin/ksh
echo "This is a Test mail"
recepient="ask1@bla.com"
echo $recepient
echo "Job completed okay" | mail $recepient
echo "Mail has been sent"
Nothing happens...No email is send ...Can any any one suggest what am I doing wrong??
TIA
I am trying to automate an email process as follows and that works fine:
#!/bin/ksh
echo "This is a Test mail"
recepient="root"
echo $recepient
echo "Job completed okay" | mail $recepient
echo "Mail has been sent"
exit
This emails an internal user but the mails does not go to an email ID some thing like this:
#!/bin/ksh
echo "This is a Test mail"
recepient="ask1@bla.com"
echo $recepient
echo "Job completed okay" | mail $recepient
echo "Mail has been sent"
Nothing happens...No email is send ...Can any any one suggest what am I doing wrong??
TIA