Type | Description |
Use the Read event to notify your application that the Read method was done, and all messages were loaded successfully. Use the Error event to notify your application that an error occurs. If the Error event occurs any of the other events are not fired. Use the Reading event to cancel reading the entire message during Read method.
The following sample shows how to print the subject for all messages:
Private Sub ibx_Read()
Dim i As Long
For i = 0 To ibx.Count - 1
With ibx(i)
Debug.Print .Subject
End With
Next
End Sub