|
Summary
The internal date of the message
Description
The ImapDate property specifies the internal date of a fetched message.
To get the internal date of the message sender call the Fetch or UidFetch method with DataItem set to IMAP_DATE. The OnImapHeader event will be fired, check that the event's Mask parameter contains
the field IMAP_DATE_VALID. If it does then the message has a valid date field and the ImapDate property will contain its value.
This property is read only. There is no default value for this property.
Example
Private Sub Imap_OnImapHeader(MsgNum As Long, MsgUid As Long, Mask As Long, Buffer As String, Length As Long)
'Deliver fetched IMAP Mask, Message number and reply buffer
'Notifies of Imap properties set
Message = "Fetched attributes from message " " & MsgNum + Chr(13) + Chr (10)
If (Mask And IMAP_DATE_VALID) Then
Message = Message + "Date: " + Imap.ImapDate End If
.
.
List.Text = List.Text + Chr(13) + Chr(10) + Message
End Sub
|