wodSmtpServer ActiveX Control - RelayDone Method
      
 

Description

Called when relaying completes.


Return Type

None  


Syntax

object.RelayDone Owner, Relay



The RelayDone 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.
Relay Required. A SmtpRelay object. Reference to the relay that was completed.

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.

RelayDone notification method is called after specific relaying was completed. At this point relay instance is removed from the collection of messages that needs to be relayed.