AXSoft SMTPSock - Connect

Description

Connects to a server.

 
Type

Method

 
Syntax

object.Connect()

 
Return Type

None

 
Remarks

If an error occurs while connecting, then the Error event is fired. Once connected, the Connected event is fired. While connecting to a server, the StatusChange event will return a "Connecting" value. Once connected to a server and while the connection is still active the StatusChange event will return a "Connected" value. To view the possible values of the StatusChange event, check out the StatusConstants constants page.

See Also: Connected, StatusChange, Error, StatusConstants