ž ¦ÿf c @ sI d Z d g Z d d l m Z d d l m Z Gd d „ d e ƒ Z d S( u, Class representing message/* MIME documents.u MIMEMessagei ( u message( u MIMENonMultipartc B s) | Ee Z d Z d Z d d d „ Z d S( u MIMEMessageu, Class representing message/* MIME documents.u rfc822c C sX t j | d | ƒ t | t j ƒ s4 t d ƒ ‚ n t j j | | ƒ | j d ƒ d S( uš Create a message/* type MIME document. _msg is a message object and must be an instance of Message, or a derived class of Message, otherwise a TypeError is raised. Optional _subtype defines the subtype of the contained message. The default is "rfc822" (this is defined by the MIME standard, even though the term "rfc822" is technically outdated by RFC 2822). u messageu&