IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

part_encoding Property

This property contains the actual content encoding type for each part.

Syntax

def get_part_encoding(part_idx: int) -> int: ...
def set_part_encoding(part_idx: int, value: int) -> None: ...

Default Value

0

Remarks

This property contains the actual content encoding type for each part. This property determines how to encode the data or how they were actually encoded in the message as specified in the Content-Transfer-Encoding header.

Possible values for the this property are:

pe7bit (0)7 Bit data, no encoding.
peQuotedPrintable (1)Quoted-Printable encoding of (typically) text.
peBase64 (2)Base64 encoding of binary data.
pe8Bit (3)No encoding, 8 Bit characters may be contained as well.
peBinary (4)Binary data without any encoding. Similar to 3 (8 Bit encoding).
peUUEncode (5)Uuencoding of binary data.

The part_idx parameter specifies the index of the item in the array. The size of the array is controlled by the part_count property.

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