IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

message_size Property

The size in bytes of the current message.

Syntax

def get_message_size() -> int: ...

message_size = property(get_message_size, None)

Default Value

0

Remarks

This property contains the size in bytes of the current message. If the class is not connected, or message_number does not contain a valid message number, the value of this property is 0. Otherwise, it contains the size of the mail message (including headers) as reported by the server.

The mail_server is asked about the size 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.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]