PrefTask()

Sets the default Task Send options.

Token ID

AFTKN_SET_TODO or 599

Syntax

VOID PrefTask( [ENUM Priority]; 
               [ENUM Notify]; 
               [ENUM ReturnOnOpen]; 
               [ENUM ReturnOnAccept]; 
               [ENUM ReturnOnDelete]; 
               [ENUM ReturnOnCompleted]; 
               [ENUM StatusInfo]; 
               [ENUM DisplayEventType])

Parameters

Priority As ENUM

(Optional) Specifies the priority:

0

Low

1

Normal

2

High

Notify As ENUM

Notify recipients when a Task item is delivered to their Mailbox. (Optional)

  • 0 No
  • 1 Yes
ReturnOnOpen As ENUM

Return notification options for routed items. (Optional)

ReturnOnAccept As ENUM

Return notification options. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMaill

ReturnOnDelete As ENUM

Return notification options. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMaill

ReturnOnCompleted As ENUM

Return notification options. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMaill

StatusInfo As ENUM

Information to track when an Appointment item is sent. (Optional)

3

AllInfo

275

Delivered

0

None

280

Opened

DisplayEventType As ENUM

Specify how to display a task due date. (Optional)

  • 0 Duration
  • 1 EndDateAndTime

See Also