![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3.10/email/mime/__pycache__/ |
o �*�g� � @ 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 sd |du rz |� d� d}W n ty d}Y nw 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__�str�set_payload)�self�_text�_subtype�_charsetr � r �&/usr/lib/python3.10/email/mime/text.pyr s � �zMIMEText.__init__)r N)�__name__� __module__�__qualname__�__doc__r r r r r r s N)r �__all__� email.charsetr �email.mime.nonmultipartr r r r r r �<module> s