com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class CredentialsByHostClient

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable
    Direct Known Subclasses:
    ImapClient, Pop3Client, SmtpClient

    Deprecated. 
    CredentialsByHostClient object is obsolete and will be removed soon. Please use EmailClient object instead.

    @Deprecated
    public abstract class CredentialsByHostClient
    extends EmailClient

    Represents the client that creates server connection by using the host credentials.

    • Constructor Detail

      • CredentialsByHostClient

        protected CredentialsByHostClient()
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host name.
        port - The port number.
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               int securityOptions)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host name.
        port - The port number.
        securityOptions - Security mode for a mail client
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               String password)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host name.
        port - The port number.
        username - The username.
        password - The password.
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               String password,
                               int securityOptions)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host name.
        port - The port number.
        username - The username.
        password - The password.
        securityOptions - Security mode for a mail client
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               String authInfo,
                               boolean useOAuth)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host.
        port - The port.
        username - The username.
        authInfo - A string representation of the user password or the access token.
        useOAuth - Defines whether OAuth is used to login to the server
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               String authInfo,
                               boolean useOAuth,
                               int securityOptions)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host.
        port - The port.
        username - The username.
        authInfo - A string representation of the user password or the access token.
        useOAuth - Defines whether OAuth is used to login to the server
        securityOptions - Security mode for a mail client
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               ITokenProvider tokenProvider)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host.
        port - The port.
        username - The username.
        tokenProvider - TokenProvider allowing to retrieve access token.
      • CredentialsByHostClient

        protected CredentialsByHostClient(String host,
                               int port,
                               String username,
                               ITokenProvider tokenProvider,
                               int securityOptions)
        Deprecated. 

        Initializes a new instance of the CredentialsByHostClient class.

        Parameters:
        host - The host.
        port - The port.
        username - The username.
        tokenProvider - TokenProvider allowing to retrieve access token.
        securityOptions -