wodSmtpServer ActiveX Control - Disconnect Method
      
 

Description

Disconnects the user from Smtp server.


Return Type

None  


Syntax

object.Disconnect



The Disconnect Method syntax has these parts:

Part Description
object An expression evaluating to an object of type SmtpUser.

Remarks

By calling this method you will force disconnection of selected user without any notice. User will not receive any message (because it would violate Smtp protocol specification). No event will be fired to notify you of disconnection, so if you need to add some clean-up for the user you should do it before calling Disconnect method.