HttpProxy

HttpProxy (1 of 2)

Initializes a new instance of the HttpProxy class to connect to proxy server without authentication.

Returns: Aspose::Email::Clients::

HttpProxy(System::String address, int32_t port)
ParameterDescription
addressThe domain name or IP address of the proxy
portThe port number of the proxy

HttpProxy (2 of 2)

Initializes a new instance of the HttpProxy class to connect to proxy server with defined username and password.

Returns: Aspose::Email::Clients::

HttpProxy(System::String address, int32_t port, System::String username, System::String password)
ParameterDescription
addressThe domain name or IP address of the proxy
portThe port number of the proxy
usernameUsername for authentication
passwordPassword for authentication