uid_mode Property
If true, permanent message identifiers are used instead of the default temporary identifiers.
Syntax
def get_uid_mode() -> bool: ... def set_uid_mode(value: bool) -> None: ...
uid_mode = property(get_uid_mode, set_uid_mode)
Default Value
FALSE
Remarks
This property indicates if a permanent identifier should be used. Normally, the IMAP server uses temporary message identifiers that are valid only during the current session. If uid_mode is true, permanent message identifiers are used instead.
The IMAP protocol operations where UID mode is used are the following: COPY, FETCH, STORE, SEARCH.