This content has been marked as final. Show 2 replies
Basically, yes. You shouldn't generally be using the "com.sun" classes unless you have really, really strange requirements. And maybe not even then. Here's a quote from the Javadoc for one of those com.sun packages:
These utility classes are not part of the JavaMail specification. While this package contains many classes used by the JavaMail implementation and not intended for direct use by applications, the classes documented here may be of use to applications.