Hi,

sorry for probable (but I hope not 100% :) offtopic, but it is my last
resort as I could not get response at jGuru and Sun forums. And I did not
dare to ask at James developer's forum...

It's a programmer's question: how can one re-initialize JavaMail networking
enviromnent just before sending mail?

I use JavaMail in a servlet with Tomcat, and everything works perfectly if
my ISP connection was up when the servlet was launched. Otherwize
Transport.send() fails with "javax.mail.MessagingException: Unknown SMTP
host" at javax.mail.Transport.send0(Transport.java:219) - even when ISP
connection is available. How can I make JavaMail "forgive the offense" that
originates from its startup?

Regards,
Sergey Ushakov


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to