Sendmail Help

Hi All,

Can anyone help me out to know how can a mail be sent from sendmail command. I tried the below command

sendmail -f user-host@xyz.com -s "Some Message" -t abcd@xyz.com

It throwed a message

-s... User unknown
Message... User unknown
Some... User unknown

But this did not work out well. Any help is much appreciated.

Thanks in advance !!

Try using the full pathname to sendmail,

/usr/lib/sendmail