ItemGetType()

Returns an item’s type.

Token ID

AFTKN_ITEM_GET_TYPE or 679

Syntax

WORD ItemGetType(ANSISTRING MessageID)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Return Values

  • WORD Appointment 1 Mail 2 Note 3 Phone Message 4 Task 5

Remarks

The message body field (in the Message View and the Object API) has a limit of 32,000 characters. The Message View will stop accepting data after 32,000 characters.