| Server IP : 85.214.239.14 / Your IP : 216.73.216.189 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/2/root/proc/self/root/lib/python3.5/email/mime/__pycache__/ |
Upload File : |
F��a � @ sI d Z d g Z d d l m Z d d l m Z Gd d � d e � Z d S)z,Class representing message/* MIME documents.�MIMEMessage� )�message)�MIMENonMultipartc @ s% e Z d Z d Z d d d � Z d S)r z,Class representing message/* MIME documents.Zrfc822c C sU t j | d | � t | t j � s1 t d � � t j j | | � | j d � d S)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 z&Argument is not an instance of Messagezmessage/rfc822N)r �__init__�
isinstancer ZMessage� TypeErrorZattachZset_default_type)�selfZ_msgZ_subtype� r �(/usr/lib/python3.5/email/mime/message.pyr s
zMIMEMessage.__init__N)�__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