|
Summary
Delivers the server reply in response to the user specified command in the Direct method or to the Direct cmd property being set.
Description
The OnDirect event occurs in response to Direct method or from setting the DirectCmd property to a command. The command is then sent directly to the server "as is".
The Buffer contains the response from the server and the Length is the length of the buffer.
Example
Private Sub Imap_OnDirect(Buffer As String, Length As Long)
'Event delivers server response from Direct method or DirectCmd property
Message = "Server Response:"
List.Text = List.Text + Chr(13) + Chr(10) + Message
List.Text = List.Text + Chr(13) + Chr(10) + Buffer
End Sub
|