ISLoadMessagesParams.ReceivedAfter

Description

The date and time after which the messages were received.

Syntax

object.ReceivedAfter

Part Attribute Type Description
object Required
The object always implements the ISLoadMessagesParams interface

Return Value

DateTime

Example

Display the number of the messages loaded on the basis of the selected filter and the information about them.

Dim aProvider
Dim aFilter
Dim aMessages
Dim aMessage
Dim aInfo
Dim i

Set aProvider = Profile.LoadProvider("ADMIN")
set aFilter = Profile.CreateLoadMessagesParams(aProvider.Id)
aFilter.ProviderId = aProvider.Id
aFilter.ReceivedAfter = #11/11/2018#
set aMessages = Profile.LoadMessages(aFilter)

aInfo = "The number of messages received after " & aFilter.ReceivedAfter &_
  " is " & aMessages.Count
for i = 0 to aMessages.Count - 1  
  set aMessage = aMessages.Item(i)
  aInfo = aInfo & vbNewLine & "The message with the text '" & aMessage.Text &_
    "' was sent by " & aMessage.Sender & " on " & aMessage.Sent
next 

Profile.MsgBox(aInfo)
Note:

In Profile Client v8 on User Interface the dates of receiving messages can be found in Organisation > Work Centre > Communication > Email > Inbox > View > Recieved.

Version information

Added in v7.8.0