Click or drag to resize

CPop.connect Method

X#
Establish a connection to the remote POP server.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD connect(
	cIP,
	n
) AS USUAL CLIPPER
Request Example View Source

Parameters

cIP (Optional)
Type: Usual
String containing the host name of an Internet server. Alternately, the string can contain the IP number of the POP server in ASCII dotted-decimal format (for example, 11.22.3.45).
n (Optional)
Type: Usual
Port number at cHostNameOrIP. If not specified, the connection will be established to port SELF:RemotePort. The default value is IPPORT_POP (110).

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
This method establishes a connection to the specified remote mail server at port nPort or SELF:RemotePort.
See Also