<< ibec_smtp_SendMail | IBEBlock | Change all triggers >>

ibec_WaitForEvent

The ibec_WaitForEvent function can be used to monitor events sent by the POST_EVENT command. It returns the event name if an event is fired or NULL if timeout is expired.

Syntax

 ibec_WaitForEvent(Connection : variant; EventName : string; Timeout : cardinal) : variant;#

Timeout should be specified in milliseconds. Timeout = 0 means infinitely waiting for event!

<< ibec_smtp_SendMail | IBEBlock | Change all triggers >>