| Server IP : 37.27.51.148 / Your IP : 216.73.216.140 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib64/python3.9/email/mime/__pycache__/ |
Upload File : |
a
�i% � @ s6 d Z dgZddlmZ ddlmZ G dd� de�ZdS )�,Class representing message/* MIME documents.�MIMEMessage� )�message)�MIMENonMultipartc @ s e Zd ZdZddd�dd�ZdS )r r �rfc822N��policyc C sB t j| d||d� t|tj�s&td��tj�| |� | �d� dS )a� 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).
r r z&Argument is not an instance of Messagezmessage/rfc822N)r �__init__�
isinstancer ZMessage� TypeErrorZattachZset_default_type)�selfZ_msgZ_subtyper � r
�*/usr/lib64/python3.9/email/mime/message.pyr s
zMIMEMessage.__init__)r )�__name__�
__module__�__qualname__�__doc__r r
r
r
r r s N)r �__all__Zemailr Zemail.mime.nonmultipartr r r
r
r
r �<module> s