PR_EXPIRY_UNITS

The PR_EXPIRY_UNITS property contains the time unit to be used in calculating the time for a message to expire.

Quick Info

Header file: EDKMDB.H
Applies to: Message objects (information store objects)
Identifier: 0x3fee
Property type: PT_LONG
Access: Read/write

Values

0
Minutes
1
Hours
2
Days
3
Weeks

Remarks

The PR_EXPIRY_UNITS property is used by the information store to record Send Option dialog settings. The information in this and the MAPI PR_EXPIRY_TIME property is used by the information store to calculate when the message expires. These properties are only sent with messages that contain a deferred action.

The information store uses the PR_EXPIRY_NUMBER PR_EXPIRY_UNITS properties and the MAPI PR_CLIENT_SUBMIT_TIME property to calculate the value of the PR_EXPIRY_TIME property. PR_CLIENT_SUBMIT_TIME and PR_EXPIRY_TIME are standard MAPI properties.

For example:

PR_EXPIRY_TIME = PR_CLIENT_SUBMIT_TIME + (PR_EXPIRY_UNITS + PR_EXPIRY_NUMBER)

See Also

PR_EXPIRY_NUMBER