Voicemail Pro Examples: Using VB Script

8.1.2.10 GetMailboxMessage Method

The GetMailboxMessage method is used to obtain a message within a mailbox.

Voice.GetMailboxMessage(

mailbox As String,

msgtype As String,

index As Long,

) As String

Parameters

mailbox - The mailbox to return messages for.

msgtype - The type of messages to return.

This can start with an N for new messages, O for old messages and S for saved messages.

index - The message to return.

Return Value

The message at that position within the list (an empty string if end of list).

8.1.2.11 GetMailboxMessages Method

The GetMailboxMessages method is used to obtain the count of specific messages within a mailbox.

Voice.GetMailboxMessages(

mailbox As String,

msgtype As String

) As Long

Parameters

mailbox - The mailbox to return message counts for.

msgtype - The type of messages to return counts for.

This can start with an N to obtain the number of new messages, O for old messages and S for saved messages.

Return Value

The number of messages of a particular type within the mailbox.

Voicemail Pro

Page 321

IP Office

15-601063 Issue 20l (03 March 2009)

Page 321
Image 321
Avaya 15-601063 manual GetMailboxMessage Method, GetMailboxMessages Method