PyIMAPIFolder.SetReadFlags

SetReadFlags(msgs, uiParam, progress, flag)

Sets or clears the MSGFLAG_READ flag in the PR_MESSAGE_FLAGS (PidTagMessageFlags) property of one or more of the folder's messages, and manages the sending of read reports.

Parameters

msgs : PySBinaryArray

uiParam : int

A HWND for the progress

progress : PyIMAPIProgress

A progress object, or None

flag : int

Bitmask of flags that controls the setting of a message's read flag - that is, the message's MSGFLAG_READ flag in its PR_MESSAGE_FLAGS property and the processing of read reports.