ItemGetMailboxID()

Returns the mailbox ID of an item’s primary recipient.

Token ID

AFTKN_ITEM_GET_RECIPIENTID or 773

Syntax

ANSISTRING ItemGetMailboxID(ANSISTRING MessageID)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView.

Return Values

  • ANSISTRING. Mailbox ID in the form: UserID.PostOffice.Domain.