The Mailbox Class

MailboxClass Object

Various properties of a mailbox may be set and retrieved. The properties of a mailbox are defined as follows:

Keypad

Command Action

cellphone_number

The cell phone number to call with new voice messages.

email_forward

The greeting to be played to the caller entering this mailbox.

greeting

(from any level) Exit back to main menu.

notify_hi_water

The number of voice messages that must be left before a page or callback is executed. E-mail notifications are not subject to this value.

number

The mailbox number.

pager_number

The phone number of the user's pager.

passcode

A string of DTMF digits that is the passcode for this user. 

tag

Holds user-defined information.

total_messages

A count of the total number of voice messages in this mailbox.

unread_messages

A count of the total number of voice messages unread in this mailbox.

username

The owner of the mailbox.

attributes

Bits defined:

MB_ALLOW_MESSAGES = 2          ' callers can leave messages in this mailbox
MB_ALLOW_HS_VOICE_COMMANDS = 4 ' callers can access voice commands (if # enabled)
MB_DEFAULT = 8                      ' default, cannot delete
MB_FWD_EMAIL = &H10             ' forward messages to given E-mail address
MB_NOTIFY_PAGE = &H20          ' notify to pager number
MB_FWD_CELLPHONE = &H40      ' forward messages to cell phone
MB_NOTIFY_NO_VOICE = &H80   ' do not include the voice file in notifications
MB_ATTACH_CID = &H100          ' include Caller ID number in notification