ItemGetOutboxMessageID()

Returns the message ID of a Sent Items item.

Token ID

AFTKN_ITEM_GET_OUTBOX_MSGID or 776

Syntax

ANSISTRING ItemGetOutboxMessageID(ANSISTRING MessageID)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Return Values

  • ANSISTRING. Message ID. ItemGetOutBoxMessageID returns an "undefined function return value" if the MessageID parameter identifies a personal item, or a Mailbox item without a corresponding Sent Items item.