message_id Property
The Id of the message.
Syntax
def get_message_id() -> str: ... def set_message_id(value: str) -> None: ...
message_id = property(get_message_id, set_message_id)
Default Value
""
Remarks
The Id format is as in RFC 2822: id-left@id-right .
A unique Id will automatically be generated on startup. Sending a message will reset id-left if the MessageId has been used in the previous message.
If you set message_id to a string of the form "@(id-right)" a unique id-left will be generated. If you set message_id to an empty string, a new message_id will be generated with the same id-right.
After an mdn_receipt is returned or set, message_id will contain the Original-Message-ID found in the MDN Receipt.