AlkantarClanX12
Current Path : /opt/alt/python38/lib64/python3.8/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/__pycache__/smtplib.cpython-38.opt-1.pyc |
U i�f֯ � @ sr d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl mZ dddddd d ddd dddg ZdZdZdZdZdZdZe�dej�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�Z G dd � d e�Z!G dd� de�Z"G d d� de�Z#G d!d � d e�Z$d"d� Z%d#d$� Z&d%d� Z'd&d'� Z(d(d)� Z)zddl*Z*W n e+k �r� d*Z,Y nX d+Z,G d,d� d�Z-e,�r�G d-d.� d.e-�Z.e�/d.� d/Z0G d0d1� d1e-�Z1e2d2k�rnd3d4� Z3e3d5�Z4e3d6��5d7�Z6e7d8� d9Z8ej9�:� Z;e;�s*�q6e8e; Z8�qe7d:e<e8� � e-d;�Z=e=�>d<� e=�?e4e6e8� e=�@� dS )=a SMTP/ESMTP client class. This should follow RFC 821 (SMTP), RFC 1869 (ESMTP), RFC 2554 (SMTP Authentication) and RFC 2487 (Secure SMTP over TLS). Notes: Please remember, when doing ESMTP, that the names of the SMTP service extensions are NOT the same thing as the option keywords for the RCPT and MAIL commands! Example: >>> import smtplib >>> s=smtplib.SMTP("localhost") >>> print(s.help()) This is Sendmail version 8.8.4 Topics: HELO EHLO MAIL RCPT DATA RSET NOOP QUIT HELP VRFY EXPN VERB ETRN DSN For more info use "HELP <topic>". To report bugs in the implementation send email to sendmail-bugs@sendmail.org. For local information send email to Postmaster at your site. End of HELP info >>> s.putcmd("vrfy","someone@here") >>> s.getreply() (250, "Somebody OverHere <somebody@here.my.org>") >>> s.quit() � N)�body_encode� SMTPException�SMTPNotSupportedError�SMTPServerDisconnected�SMTPResponseException�SMTPSenderRefused�SMTPRecipientsRefused� SMTPDataError�SMTPConnectError� SMTPHeloError�SMTPAuthenticationError� quoteaddr� quotedata�SMTP� i� � s i � z auth=(.*)c @ s e Zd ZdZdS )r z4Base class for all exceptions raised by this module.N��__name__� __module__�__qualname__�__doc__� r r �,/opt/alt/python38/lib64/python3.8/smtplib.pyr H s c @ s e Zd ZdZdS )r z�The command or option is not supported by the SMTP server. This exception is raised when an attempt is made to run a command or a command with an option which is not supported by the server. Nr r r r r r K s c @ s e Zd ZdZdS )r z�Not connected to any SMTP server. This exception is raised when the server unexpectedly disconnects, or when an attempt is made to use the SMTP instance before connecting it to a server. Nr r r r r r R s c @ s e Zd ZdZdd� ZdS )r a2 Base class for all exceptions that include an SMTP error code. These exceptions are generated in some instances when the SMTP server returns an error code. The error code is stored in the `smtp_code' attribute of the error, and the `smtp_error' attribute is set to the error message. c C s || _ || _||f| _d S �N)� smtp_code� smtp_error�args)�self�code�msgr r r �__init__c s zSMTPResponseException.__init__N�r r r r r! r r r r r Z s c @ s e Zd ZdZdd� ZdS )r z�Sender address refused. In addition to the attributes set by on all SMTPResponseException exceptions, this sets `sender' to the string that the SMTP refused. c C s"