ISLoadMessagesParams.HideSent

Description

This parameter property is used to exclude the removed messages from the collection of the loaded messages.

Syntax

object.HideSent

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

Return Value

bool

Example

Display the number of the messages loaded on the basis of the selected filter and their subjects.

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

Set aProvider = Profile.LoadProvider("ADMIN")
set aFilter = Profile.CreateLoadMessagesParams(aProvider.Id)
aFilter.HideSent = True
aFilter.Status = 1 'Outbox 
set aMessages = Profile.LoadMessages(aFilter)

aInfo = "Messages Count = " & aMessages.Count
for i = 0 to aMessages.Count - 1  
  set aMessage = aMessages.Item(i)
  aInfo = aInfo & vbNewLine & (i + 1) & ") " & aMessage.Subject
next 

Profile.MsgBox(aInfo)
Note: This property is used to load only outbox messages

In Profile Client v8 on User Interface Messages can be found and deleted in Organisation > Work Centre > Communication > Email.

Version information

Added in v7.8.0