decode_from_string Method
Decodes from string.
Syntax
def decode_from_string() -> None: ...
Remarks
This method decodes from string. Same as DecodeFromFile, but now the message denotes the real encoded message rather than a filename.
This method decodes the data given in message and optionally message_headers and fills out the parts properties.
Example (Decoding Mail Message)
MIMEControl.MessageHeadersString = MailControl.MessageHeaders MIMEControl.Message = MailControl.MessageText MIMEControl.DecodeFromString