Results 1 to 1 of 1
  1. #1
    wannshan is offline Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    0

    Unhappy javax.mail.Transport

    i know
    com.sun.mail.smtp.SMTPTransport
    extends and implements java.mail.Transport's sendMessage().
    and javax.mail.Transport is a abstract class

    we can send my mail message only with

    "Transport.send(message)";

    only such simple code
    how java know who implements Transport
    and why not appearance SMTPTransport and instance it?
    Last edited by wannshan; 05-25-2010 at 08:32 AM.

Similar Threads

  1. javax.mail.Transport
    By sharpi03 in forum Advanced Java
    Replies: 5
    Last Post: 10-23-2009, 06:26 PM
  2. Replies: 2
    Last Post: 07-25-2009, 10:36 AM
  3. Replies: 2
    Last Post: 06-04-2009, 02:42 PM
  4. A Webservice Platform for Transport Optimization
    By dnaevolutions in forum Java Software
    Replies: 0
    Last Post: 01-18-2009, 07:15 PM
  5. Replies: 2
    Last Post: 05-05-2008, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •