Email notification error on Solaris

Hi,

I am getting error below when testing email. is there a way I can configure email on Solaris?
SunOS -s 5.10 Generic_147440-04 sun4u sparc SUNW,SPARC-Enterprise

echo "hello" | sendmail -v abcd
WARNING: local host name (-s) is not qualified; see cf/README: WHO AM I?
abcd... Connecting to [127.0.0.1] via relay...
abcd... Deferred: Connection refused by [127.0.0.1]

Thanks,

Joe

Maybe the fully qualified domain name (FQDN) of the host itself is not in /etc/hosts ?