RemoteSetRequestItemsFilter()

Sets filters for retrieving items from the master system. Parameters not specified are not retrieved to the user’s remote database.

Token ID

AFTKN_REM_SETITEMSFILTER or 799

Syntax

VOID RemoteSetRequestItemsFilter( [ENUM FromInbox]; 
                         [ENUM FromOutbox]; 
                         [ENUM FromPersonalBox]; 
                         [ENUM RetrieveMailAndPhone]; 
                         [ENUM RetrieveAppointments]; 
                         [ENUM RetrieveTasks]; 
                         [ENUM RetrieveNotes]; 
                         [DWORD MessageSizeLimit]; 
                         [DWORD AttachmentSizeLimit]; 
                         [DWORD DistributionListSizeLimit]; 
                         [WORD DaysPrior]; 
                         [WORD DaysAfter]; 
                         [ENUM RetrieveDocReferences])

Parameters

FromInbox As ENUM

(Optional)

  • 0 No
  • 1 Yes
FromOutbox As ENUM

(Optional)

  • 0 No
  • 1 Yes
FromPersonalBox As ENUM

(Optional)

  • 0 No
  • 1 Yes
RetrieveMailAndPhone As ENUM

(Optional) Specifies the mail and phone messages to retrieve:

7

All

0

None

280

Opened

283

Unopened

RetrieveAppointments As ENUM

(Optional) Specifies the appointments to retrieve:

104

Accepted

7

All

0

None

284

Unaccepted

RetrieveTasks As ENUM

(Optional) Specifies the tasks to retrieve:

7

All

138

Completed

0

None

285

Uncompleted

RetrieveNotes As ENUM

(Optional) Specifies the notes to retrieve:

7

All

0

None

280

Opened

283

Unopened

MessageSizeLimit As DWORD

Retrieve message text if less than a specified size in bytes. For example, 30720 (30x1024 or 30 kilobytes). (Optional)

AttachmentSizeLimit As DWORD

Retrieve attachments if less than a specified size in bytes. For example, 30720 (30x1023 or 30 kilobytes). (Optional)

DistributionListSizeLimit As DWORD

Retrieve To, CC, and BC text if less than a specified size in bytes. For example, 5120 (5x1024 or 5 kilobytes). (Optional)

DaysPrior As WORD

Retrieve items no older than a specified number of days prior to the current date. For example, 5. (Optional)

DaysAfter As WORD

Retrieve items that were received no later than a specified number of days after the current date. For example, 365. (Optional)

RetrieveDocReferences As ENUM

(Optional) Specifies the document references to retrieve:

7

All

0

None