|
Summary
Specifies the authentication method used when connecting through a firewall.
Description
The FwAuthMethods property specifies the authentication method that can be used when connecting to the firewall server. This property must be set before a connection can be
established by calling the FwConnect method. The FwAuthMethods property can be "0", "1" or "2" or a combination of "0", "1", "2", for example "01" or "12". "0" means that no authentication
is required, "1" means GSSAPI and "2" means that a valid username and password is required. Currently only methods "0" and "2" are supported.
This property can be changed at design time or at run time before a connection has been established.
The default value for this property is "0".
Example
Imap.FwAuthMethods = "02"
Imap.FwUsername = "joe"
Imap.FwPassword = "distinct"
Result = Imap.FwConnect (Host, FwServer, 1080)
If (Result = IMAP_SUCCESS) Then
MessageBox "Successful connection", "sample application", 64
End If
|