Server IP : 162.0.232.140 / Your IP : 18.221.133.22 Web Server : LiteSpeed System : Linux premium139.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : micrcvoy ( 740) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/usr/lib64/python3.8/email/mime/__pycache__/ |
Upload File : |
U e5d� � @ s6 d Z dgZddlmZ ddlmZ G dd� de�ZdS )z.Class representing text/* type MIME documents.�MIMEText� )�Charset)�MIMENonMultipartc @ s e Zd ZdZddd�dd�ZdS )r z0Class for generating text/* type MIME documents.�plainN)�policyc C sf |dkr4z|� d� d}W n tk r2 d}Y nX tj| d|fd|idt|�i�� | �||� dS )a~ Create a text/* type MIME document. _text is the string for this message object. _subtype is the MIME sub content type, defaulting to "plain". _charset is the character set parameter added to the Content-Type header. This defaults to "us-ascii". Note that as a side-effect, the Content-Transfer-Encoding header will also be set. Nzus-asciizutf-8�textr �charset)�encode�UnicodeEncodeErrorr �__init__�strZset_payload)�selfZ_textZ_subtypeZ_charsetr � r �'/usr/lib64/python3.8/email/mime/text.pyr s �zMIMEText.__init__)r N)�__name__� __module__�__qualname__�__doc__r r r r r r s N)r �__all__Z email.charsetr Zemail.mime.nonmultipartr r r r r r �<module> s