Disconnect Method

Disconnect from the mail server.

Syntax

object.Disconnect

The object placeholder represents an expression that evaluates to an InternetMail object.

Return Type

Integer

Remarks

The Disconnect method causes all messages that have marked for deletion to be removed by the server and the network connection is closed.

This method will return value of zero if the action was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

Connect Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.