|
Summary
Delivers any updates received from the IMAP server while in the idle mode.
Description
The OnNotify event occurs after a successful return of the StartIdle method, the IMAP control fires this event when the IMAP server sends any updates for example when a new mail arrives or an
existing mail gets deleted. It delivers any untagged response from the IMAP server.
The Buffer contains the response sent by the IMAP server and the Length is the length of the buffer.
Example
Private Sub Imap_OnNotify( Buffer As String, Length As Long)
'Event delivers real time updates when in the idle mode
List.Text = List.Text + Chr(13) + Chr(10) + Buffer
End Sub
|