Back to product page

StateChange Method


Called when wodSmtp's state changes.

Syntax

  • Basic
object.StateChange (Owner, OldState)
The StateChange(object,Owner,OldState) syntax has these parts:
objectAn expression evaluating to an object of type IwodSmtpClientNotify
OwnerwodSmtp object. Reference to wodSmtpCom instance that called this callback method.
OldStateA SmtpStates enumeration, as described in settings. Represents previous state.

Remarks

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


Platforms

Windows