wodSmtpServer ActiveX Control - Disconnected Method
      
 

Description

Called when user disconnects from server.


Return Type

None  


Syntax

object.Disconnected Owner, User



The Disconnected Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSmtpNotify.
Owner Required. A wodSmtpServer object. Reference to wodSmtpServerCom instance that called this callback method.
User Required. A SmtpUser object. Reference to the user who is disconnecting from the server.

Remarks

NOTE: This method is called only if you implemented IwodSmtpNotify interface in your application, and wodSmtpServer1.Notification property has received reference to instance of your implementation.

This notification method is called after user issues 'QUIT' command and is about to leave server. At this time, you start to examine contents of posted message, and decide what to do with it. Usually, you will save received message to temporary file. Inside this event, you can move it to appropriate mailbox file.