@classmethod<EOL><INDENT>def from_bytes(cls, bt):<DEDENT>
log.debug("<STR_LIT>")<EOL>if six.PY2:<EOL><INDENT>raise MailParserEnvironmentError(<EOL>"<STR_LIT>")<EOL><DEDENT>message = email.message_from_bytes(bt)<EOL>return cls(message)<EOL>
Init a new object from bytes.

Args:
    bt (bytes-like object): raw email as bytes-like object

Returns:
    Instance of MailParser