IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

content_type Property

The value of the content-type header of the message which was encoded/decoded.

Syntax

def get_content_type() -> str: ...
def set_content_type(value: str) -> None: ...

content_type = property(get_content_type, set_content_type)

Default Value

""

Remarks

This property contains the value of the content-type header of the message which was encoded/decoded. The class filters it out from the message_headers. It shows the user about the type of the parts and their relation to each other.

The content-type attributes such as filename, boundary, charset etc are held in this property.

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