3 \%@s2dgZddlmZddlmZGdddeZdS) MIMEMessage)message)MIMENonMultipartc@seZdZdddddZdS)rrfc822N)policycCsBtj|d||dt|tjs&tdtjj|||jddS)Nr)rz&Argument is not an instance of Messagezmessage/rfc822)r__init__ isinstancerZMessage TypeErrorZattachZset_default_type)selfZ_msgZ_subtyperr */usr/lib64/python3.6/email/mime/message.pyrs  zMIMEMessage.__init__)r)__name__ __module__ __qualname__rr r r r rsN)__all__ZemailrZemail.mime.nonmultipartrrr r r r s