|
Summary
Delivers the new status of a message in response to the status method.
Description
The OnStore event occurs in response to calling the Store method with the Silent parameter set to False. The OnStore event delivers the message number and the new status of the message.
The Flags can be a combination of the following values
| IMAP_MSG_SEEN |
Message has been read |
| IMAP_MSG_ANSWERED |
Message has been answered |
| IMAP_MSG_FLAGGED |
Message is "flagged" for urgent/special attention |
| IMAP_MSG_DELETED |
Message has the deleted flag set |
| IMAP_MSG_RECENT |
Message is recent |
| IMAP_MSG_DRAFT |
Message has not completed composition |
Example
Private Sub Imap_OnStore(MessageNum As Long, Flags As Long)
'Delivers new message attributes for messages altered with Store method
Message = "Message number: " & MessageNum + Chr(13) + Chr(10)
Message = Message + "Flags: " & Flags
MsgBox Message, 64, "IMAP Client Sample"
End Sub
|