Or for all internal classes. "import java.net.InetAddress.*;" compiles just fine in both Java 1.4 and Java 6.
But yeah, you got a point. It does miss the import of java.net.InetAddress itself.
Still, that class does not get mentioned in the error, but classes that should have been imported with javax.mail.* (which includes javax.mail.Transport) and javax.mail.internet.* are. So I'm still saying: class path problem.