Mail error

Hi All,

I a trying to send a mail from shell script. But it doesn't send the mail to the specified Emailid. Inturn it sends to the Server userid.

Let me know whether i need to include the SMTP server details. If so how?

 echo "CVS checkout completed" | mail -s "Auto cvs checkout" test.mail@xyz.com

~Vinodh' Kumar