dcsimg
javamail
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bhavesh_desai
Posted On:   Monday, April 23, 2001 04:31 AM

sir,


While sending mail i get "NoRouteToHostException :Operation Timed out".
how do i ensure that if such error comes then try again b'cus i am sending mails to multiple recipients in For loop.so if such error comes then it stops the whole operation.how do i overcome with these problem.
kindly guide me

Re: javamail

Posted By:   John_Zukowski  
Posted On:   Monday, April 23, 2001 06:21 AM

It is called exception handling. Put your code in a try/catch block and when the exception happens, try again.
About | Sitemap | Contact