
    	hv                        d dl mZ d dlmZ dZ G d de          Z G d dee          Z G d d	ee          Z	 G d
 dee          Z
 G d de
e	          Z G d de
          Z G d de          Z G d de          Z G d dee	          Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          Z G d  d!e          Zd"S )#    )TimeoutError)List)SMTPAuthenticationErrorSMTPConnectErrorSMTPDataErrorSMTPExceptionSMTPHeloErrorSMTPNotSupportedSMTPRecipientRefusedSMTPRecipientsRefusedSMTPResponseExceptionSMTPSenderRefusedSMTPServerDisconnectedSMTPTimeoutErrorSMTPConnectTimeoutErrorSMTPReadTimeoutErrorSMTPConnectResponseErrorc                   "    e Zd ZdZdeddfdZdS )r   z-
    Base class for all SMTP exceptions.
    messagereturnNc                $    || _         |f| _        d S N)r   args)selfr   s     ^/var/www/html/web-builder-api.evdpl.com/venv/lib/python3.11/site-packages/aiosmtplib/errors.py__init__zSMTPException.__init__   s    J			    )__name__
__module____qualname____doc__strr    r   r   r   r      s@          4      r   r   c                       e Zd ZdZdS )r   zd
    The connection was lost unexpectedly, or a command was run that requires
    a connection.
    Nr   r   r    r!   r#   r   r   r   r   "   s           r   r   c                       e Zd ZdZdS )r   z@
    An error occurred while connecting to the SMTP server.
    Nr%   r#   r   r   r   r   )              r   r   c                       e Zd ZdZdS )r   zB
    A timeout occurred while performing a network operation.
    Nr%   r#   r   r   r   r   /   r'   r   r   c                       e Zd ZdZdS )r   zA
    A timeout occurred while connecting to the SMTP server.
    Nr%   r#   r   r   r   r   5   r'   r   r   c                       e Zd ZdZdS )r   zO
    A timeout occurred while waiting for a response from the SMTP server.
    Nr%   r#   r   r   r   r   ;   r'   r   r   c                       e Zd ZdZdS )r
   zI
    A command or argument sent to the SMTP server is not supported.
    Nr%   r#   r   r   r
   r
   A   r'   r   r
   c                   &    e Zd ZdZdededdfdZdS )r   z?
    Base class for all server responses with error codes.
    coder   r   Nc                4    || _         || _        ||f| _        d S r   )r-   r   r   )r   r-   r   s      r   r   zSMTPResponseException.__init__L   s    	7O			r   r   r   r    r!   intr"   r   r#   r   r   r   r   G   sG         $S $3 $d $ $ $ $ $ $r   r   c                       e Zd ZdZdS )r   zM
    The SMTP server returned an invalid response code after connecting.
    Nr%   r#   r   r   r   r   R   r'   r   r   c                       e Zd ZdZdS )r	   z&
    Server refused HELO or EHLO.
    Nr%   r#   r   r   r	   r	   X   r'   r   r	   c                       e Zd ZdZdS )r   z&
    Server refused DATA content.
    Nr%   r#   r   r   r   r   ^   r'   r   r   c                       e Zd ZdZdS )r   zP
    Server refused our AUTH request; may be caused by invalid credentials.
    Nr%   r#   r   r   r   r   d   r'   r   r   c                   *    e Zd ZdZdedededdfdZdS )r   z1
    SMTP server refused the message sender.
    r-   r   senderr   Nc                D    || _         || _        || _        |||f| _        d S r   )r-   r   r6   r   )r   r-   r   r6   s       r   r   zSMTPSenderRefused.__init__o   s)    	7F+			r   r/   r#   r   r   r   r   j   sN         ,S ,3 , ,4 , , , , , ,r   r   c                   *    e Zd ZdZdedededdfdZdS )r   z2
    SMTP server refused a message recipient.
    r-   r   	recipientr   Nc                D    || _         || _        || _        |||f| _        d S r   )r-   r   r9   r   )r   r-   r   r9   s       r   r   zSMTPRecipientRefused.__init__{   s)    	"7I.			r   r/   r#   r   r   r   r   v   sN         /S /3 /3 /d / / / / / /r   r   c                   .    e Zd ZdZdee         ddfdZdS )r   z2
    SMTP server refused multiple recipients.
    
recipientsr   Nc                $    || _         |f| _        d S r   )r<   r   )r   r<   s     r   r   zSMTPRecipientsRefused.__init__   s    $M			r   )r   r   r    r!   r   r   r   r#   r   r   r   r      sF         "4(<#= "T " " " " " "r   r   N)asyncior   typingr   __all__	Exceptionr   ConnectionErrorr   r   r   r   r   r
   r   r   r	   r   r   r   r   r   r#   r   r   <module>rC      s                    &    I       ]O       }o       }l       .0@       +       }   $ $ $ $ $M $ $ $    46F       )       )       3   	, 	, 	, 	, 	,- 	, 	, 	,	/ 	/ 	/ 	/ 	/0 	/ 	/ 	/" " " " "M " " " " "r   