my script has something like this
> | mail -s "blah blah" $MAILTO
the command mail doesnt work on my box because I use sendmail. I can use
and that works fine but how can I do this from a shell or rather what do I need to change in the script?