Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.sun.mail.smtp.SMTPTransport

843830Oct 30 2002 — edited Oct 31 2002
I have a question concerning this class.

If you look at the JavaMail API seperatly it shows some com.sun.mail classes and gives a description of what they do.

If you look at JavaMail through the J2EE documentation, it doesn't mention this class at all.

My question is since it isn't exposed in the J2EE documentation is this a class that's safe to extend or should it be considered as something that's volatile and should never change.

Generally I believe that I should never directly use a class that isn't prefixed with java or javax that comes as part of a Java API, but since it is documented and exposed in the JavaMail API (http://java.sun.com/products/javamail/1.3/docs/javadocs/) is it ok to subclass it in this case to provide some additional functionality?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2002
Added on Oct 30 2002
2 comments
309 views