## Uses of Class
javax.mail.Transport

- Packages that use Transport
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.event | Listeners and events for the JavaMail API.

- - ### Uses of Transport in javax.mail

    Methods in javax.mail that return Transport
    Modifier and Type | Method and Description
    --- | ---
    `Transport` | Session.`getTransport()` Get a Transport object that implements this user's desired Transport protcol.
    `Transport` | Session.`getTransport(Address address)` Get a Transport object that can transport a Message of the specified address type.
    `Transport` | Session.`getTransport(Provider provider)` Get an instance of the transport specified in the Provider.
    `Transport` | Session.`getTransport(String protocol)` Get a Transport object that implements the specified protocol.
    `Transport` | Session.`getTransport(URLName url)` Get a Transport object for the given URLName.

  - ### Uses of Transport in javax.mail.event

    Constructors in javax.mail.event with parameters of type Transport
    Constructor and Description
    `TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg)` Constructor.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.