Back to product page

Disconnect Method


Disconnects from the server.

Syntax

  • Basic
object.Disconnect()
The Disconnect(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSmtp

Remarks

This method will disconnect from the server, and stop any ongoing deliveries of the message. wodSmtp will not attempt delivery of the same message anymore, until you use SendMessage method again.

Platforms

Windows