ISLoadMessagesParams.SentAfter

Description

The date and time after which the messages were sent.

Syntax

object.SentAfter

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

Return Value

DateTime

Example

Display the number of 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.SentAfter = #10/07/2018#
set aMessages = Profile.LoadMessages(aFilter)

aInfo = "The number of messages sent after " & aFilter.SentAfter & " 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 sending messages can be found in Organisation > Work Centre > Communication > Email > Inbox > Received.

Version information

Added in v7.8.0