Class SMTPTransport


  • public class SMTPTransport
    extends Transport
    This transport handles communications with an SMTP server.
    Version:
    2.0
    Author:
    Andrew Selkirk, Ben Speakmon, Chris Burdess, Arend Freije
    • Field Detail

      • connection

        protected org.jpackage.mail.inet.smtp.SMTPConnection connection
        The connection used to communicate with the server.
      • localHostName

        protected java.lang.String localHostName
    • Constructor Detail

      • SMTPTransport

        public SMTPTransport​(Session session,
                             URLName urlName)
        Creates a new SMTPTransport instance.
        Parameters:
        session - a Session value
        urlName - an URLName value