Class EmailImapConnection

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

      • EmailImapConnection

        public EmailImapConnection(String host,
                           int port,
                           String userName,
                           String password)
        Initializes a new instance of the EmailImapConnection 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.