PrefMailAndPhone()

Sets the default Mail and Phone Send options.

Token ID

AFTKN_SET_MESSAGE or 596

Syntax

VOID PrefMailAndPhone( [ENUM Priority]; 
                       [ENUM Notify]; 
                       [ENUM ReturnOnOpen]; 
                       [ENUM ReturnOnCompleted]; 
                       [ENUM ReturnOnDelete]; 
                       [ENUM StatusInfo]; 
                       [ENUM ReplyRequested]; 
                       [WORD ReplyRequestedDays]; 
                       [WORD ExpireDays]; 
                       [ENUM AutoDelete])

Parameters

Priority As ENUM

(Optional) Specifies the priority:

0

Low

1

Normal

2

High

Notify As ENUM

Notify recipients when a mail or phone item is delivered to their Mailbox. (Optional)

  • 0 No
  • 1 Yes
ReturnOnOpen As ENUM

Return notification options for routed items. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMail1

ReturnOnCompleted As ENUM

Return notification options. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMail1

ReturnOnDelete As ENUM

Return notification options. (Optional)

276

Mail

3

MailAndNotify

0

None

2

Notify

1

zOldMail1

StatusInfo As ENUM

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

3

AllInfo

275

Delivered

0

None

280

Opened

ReplyRequested As ENUM

Request reply on the first line of the message box. (Optional)

0

None

1

WhenConvenient

2

WithinDays

ReplyRequestedDays As WORD

Number of days. The recipient sees: REPLY REQUESTED: By xx/xx/xx. (Optional)

ExpireDays As WORD

Number of days a mail or phone message remains in recipient's mailbox. (Optional)

AutoDelete As ENUM

Delete the item from the sender’s Sent Items when deleted from the recipient’s Mailbox. (Optional)

  • 0 No
  • 1 Yes

See Also