ItemGetSource()

Returns the location of a specified item.

Token ID

AFTKN_ITEM_GET_SOURCE or 677

Syntax

WORD ItemGetSource(ANSISTRING MessageID)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Return Values

  • WORD. Command fails on encapsulated items. Mailbox 1 Sent Items 2 Personal 3