how to handle the exception

I have worked out in similar fashion as given in site

"http://stardeveloper.com/articles/display.html?article=2001101101&page=1"

But iam not getting output.

I used tomcat server.

The result i got is

Sending failed; nested exception is: javax.mail.MessagingException: Unknown SMTP host: mail.yourisp.com; nested exception is: java.net.UnknownHostException: mail.yourisp.com

..

Please reply me at earliest.

I need it for my project

[489 byte] By [indira_Ya] at [2007-11-26 19:21:14]
# 1

Hi,

This is not the correct forum for questions such as these. This forum is for the email server software, not for java code development.

A quick look at the error though indicates that you have the value "mail.yourisp.com" used somewhere in your code. This is NOT a valid mail-host address. You should be using something that matches your own ISP's mail-host.

Regards,

Shane.

shane_hjortha at 2007-7-9 21:40:20 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...