Voicemail Pro Page 322
15-601063 Issue 20l (03 March 2009)IP Office
8.1.2.12 GetMessagePriority Method
The GetMessagePriority method is used to determine whether the message was left with priority.
Voice.GetMessagePriority(
mailbox As String,
message As String
) As Boolean
·Parameters
·mailbox - The mailbox that the message belongs to.
·message - The message to query.
·Return Value
True if the message was left with priority, otherwise False.
8.1.2.13 GetMessagePrivate Method
The GetMessagePrivate method is used to determine whether the message was left with privacy.
Voice.GetMessagePrivate(
mailbox As String,
message As String
) As Boolean
·Parameters
·mailbox - The mailbox that the message belongs to.
·message - The message to query.
·Return Value
True if the message was left with privacy, otherwise False.
8.1.2.14 GetMessageStatus Method
The GetMessageStatus method is used to obtain the state of the message within a mailbox.
Voice.GetMessageStatus(
mailbox As String,
message As String
) As String
·Parameters
·mailbox - The mailbox that the message belongs to.
·message - The message to query.
The message name format should be [Accounts]\mailbox\message. for example,. [Accounts]\Extn247
\MSG00004.
·Return Value
The state of the message within the mailbox. N for new, O for old, S for saved.