Unknown SMTP Host

Hi! I have writtem a program in jsp to send a mail from my webpage. I have install a mail server and passed my server name to it but when i tried to send mail it gives a following message: Unknown SMTP Host. Will you help me. Thanks in advance. With regards, Deepak Kamboj