ItemGetText()

Returns the contents of a text field (edit box).

Token ID

AFTKN_ITEM_GET_TEXT or 678

Syntax

ANSISTRING ItemGetText(ANSISTRING MessageID; 
                        ENUM Field)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Field As ENUM

Specifies the field, as follows:

Constant

Value

Comments

Authority

4

BC

3

Only retrieves blind copy information from a Sent Items when you are the sender or have proxy rights.

Caller

6

CC

2

Company

7

From

1

Message

10

Phone

8

Place

5

Subject

9

TaskCategory

227

TaskPriority

230

To

0

ViewName

267

Return Values

  • ANSISTRING. String contents of a text field, or empty string if the text field is empty.

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.