|
Summary
Specifies the number of messages that have been received since the mailbox was last selected.
Description
The MsgRecent property specifies the number of recent messages in the currently selected mailbox.
This property is only valid at runtime if the user is logged in and has selected a mailbox. This property should be checked in the OnSelect and OnStatus events. There is no default value for this
property.
Example
Private Sub Imap_OnSelect(Buffer As String, Length As Long)
'Delivers selected mailbox info from Select or Examine method
'Notifies that Mailbox properties have been set
Message = "Mailbox Selected:" & Chr(13) & Chr(10)
Message = Message + "New Messages: " & Imap.MsgRecent
.
.
MsgBox Message, 64, "IMAP Client Sample"
End Sub
|