Lines Matching defs:message
5 """Class representing message/* MIME documents."""
9 from email import message
16 """Class representing message/* MIME documents."""
19 """Create a message/* type MIME document.
21 _msg is a message object and must be an instance of Message, or a
24 Optional _subtype defines the subtype of the contained message. The
28 MIMENonMultipart.__init__(self, 'message', _subtype, policy=policy)
29 if not isinstance(_msg, message.Message):
33 message.Message.attach(self, _msg)
35 self.set_default_type('message/rfc822')