ItemGetAttribute()

Returns True or False, depending on the state of a specified attribute.

Token ID

AFTKN_ITEM_GET_ATTRIBUTE or 673

Syntax

BOOLEAN ItemGetAttribute(ANSISTRING MessageID; 
                          ENUM Attribute)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Attribute As ENUM

Specifies the attribute:

Accepted

104

Archived

279

Autodate

289

Completed

138

CustomView

141

Delegated

143

Deleted

144

Forwarding

298

Opened

280

Personal

198

PhoneCalled

0

PhoneCameToSeeYou

5

PhonePleaseCall

1

PhoneReturnValuedYourCall

3

PhoneUrgent

6

PhoneWantsToSeeYou

4

PhoneWillCallAgain

2

Private

200

Read

206

Replying

297

ReplyRequested

207

Resending

299

ReturnReceiptRequested

215

Routed

217

RoutingEndOfLine

303

Return Values

  • BOOLEAN. True/False.