Class EmailPopConnection

  • public final class EmailPopConnection
    extends EmailConnection
    Represents the email connection information for POP protocol.
    • Constructor Detail

      • EmailPopConnection

        public EmailPopConnection(String host,
                          int port,
                          String userName,
                          String password)
        Initializes a new instance of the EmailPopConnection class.
        host - The host name.
        port - The port number.
        userName - The user name.
        password - The password.
    • Method Detail

      • getHost

        public String getHost()
        Gets the host name.
        A string value that represents the host name.
      • getPort

        public int getPort()
        Gets the port number.
        An integer value that represents the port number.