dcsimg

Does the Transport.send() method block until the STMP mail transaction is completed?

Michael Wax

The Sun SMTPTransport class does block. Further, the JavaMail Guide for Service Providers also does not specify that the send method not block. Therefore, if you are concerned that you might not get a timely return, you would be prudent to spawn a new thread.