class email.mime.message.MIMEMessage(_msg, _subtype='rfc822')
Module: email.mime.message
A subclass of MIMENonMultipart
, the MIMEMessage
class is used to create MIME objects of main type message. _msg is used as the payload, and must be an instance of class Message
(or a subclass thereof), otherwise a TypeError
is raised.
Optional _subtype sets the subtype of the message; it defaults to rfc822.
Please login to continue.