message_uid Property
The unique identifier of the message as specified by the server.
Syntax
def get_message_uid() -> str: ...
message_uid = property(get_message_uid, None)
Default Value
""
Remarks
This property contains the unique identifier of the message as specified by the server. If the class is not connected, or message_number does not contain a valid message number, the value of this property is an empty string. Otherwise, it contains the UID of the mail message as reported by the server.
The mail_server is asked about the UID of the message only if the message_number property has changed. If message_number has not changed, the class returns a cached value.
This property is read-only.