mailbox.Message.get_default_type

Message.get_default_type()[source]

Return the `default’ content type.

Most messages have a default content type of text/plain, except for messages that are subparts of multipart/digest containers. Such subparts have a default content type of message/rfc822.