|
Summary
A unique identifier to be assigned to the next message that will be put into the mailbox currently being selected or queried.
Description
The MsgNextUid property specifies the next Uid that will be assigned to a message in the mailbox.
This property is only valid at runtime if the user is logged in and has requested the status of a mailbox by calling the Status method, or has selected a mailbox by calling the Select or Examine
methods. This property should be checked in the OnStatus and OnSelect events. There is no default value for this property.
Example
Private Sub Imap_OnStatus(Flags As Long)
'Delivers flags on the Mailbox properties that have been set
'In response to status method
Message = "Mailbox Status:" + Chr(13) + Chr(10)
Message = Message + "Total Messages: " & Imap.MsgTotal & Chr(13) & Chr(10)
Message = Message + "New Messages: " & Imap.MsgRecent & Chr(13) & Chr(10)
Message = Message + "Unseen Messages: " & Imap.MsgUnseen & Chr(13) & Chr(10)
Message = Message + "Next UID: " & Imap.MsgNextUid & Chr(13) & Chr(10)
Message = Message + "Validity value: " & Imap.MailboxUid & Chr(13) & Chr(10)
MsgBox Message, 64, "IMAP Client Sample"
End Sub
|