
    =h^                     h   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y!)"    )TimeoutError)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y)r   z-
    Base class for all SMTP exceptions.
    messagereturnNc                "    || _         |f| _        y N)r   args)selfr   s     a/var/www/html/phonemate/phone_mate_backend/venv/lib/python3.12/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y)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y)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y)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y)r   zA
    A timeout occurred while connecting to the SMTP server.
    Nr$   r"   r   r   r   r   4   r&   r   r   c                       e Zd ZdZy)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y)r	   zI
    A command or argument sent to the SMTP server is not supported.
    Nr$   r"   r   r   r	   r	   @   r&   r   r	   c                   $    e Zd ZdZdededdfdZy)r   z?
    Base class for all server responses with error codes.
    coder   r   Nc                2    || _         || _        ||f| _        y r   )r,   r   r   )r   r,   r   s      r   r   zSMTPResponseException.__init__K   s    	7O	r   r   r   r   r    intr!   r   r"   r   r   r   r   F   s!    $S $3 $d $r   r   c                       e Zd ZdZy)r   zM
    The SMTP server returned an invalid response code after connecting.
    Nr$   r"   r   r   r   r   Q   r&   r   r   c                       e Zd ZdZy)r   z&
    Server refused HELO or EHLO.
    Nr$   r"   r   r   r   r   W   r&   r   r   c                       e Zd ZdZy)r   z&
    Server refused DATA content.
    Nr$   r"   r   r   r   r   ]   r&   r   r   c                       e Zd ZdZy)r   zP
    Server refused our AUTH request; may be caused by invalid credentials.
    Nr$   r"   r   r   r   r   c   r&   r   r   c                   (    e Zd ZdZdedededdfdZy)r   z1
    SMTP server refused the message sender.
    r,   r   senderr   Nc                B    || _         || _        || _        |||f| _        y r   )r,   r   r5   r   )r   r,   r   r5   s       r   r   zSMTPSenderRefused.__init__n   s%    	7F+	r   r.   r"   r   r   r   r   i   s(    ,S ,3 , ,4 ,r   r   c                   (    e Zd ZdZdedededdfdZy)r
   z2
    SMTP server refused a message recipient.
    r,   r   	recipientr   Nc                B    || _         || _        || _        |||f| _        y r   )r,   r   r8   r   )r   r,   r   r8   s       r   r   zSMTPRecipientRefused.__init__z   s%    	"7I.	r   r.   r"   r   r   r
   r
   u   s(    /S /3 /3 /d /r   r
   c                   &    e Zd ZdZdee   ddfdZy)r   z2
    SMTP server refused multiple recipients.
    
recipientsr   Nc                "    || _         |f| _        y r   )r;   r   )r   r;   s     r   r   zSMTPRecipientsRefused.__init__   s    $M	r   )r   r   r   r    listr
   r   r"   r   r   r   r      s     "4(<#= "T "r   r   N)asyncior   __all__	Exceptionr   ConnectionErrorr   r   r   r   r   r	   r   r   r   r   r   r   r
   r   r"   r   r   <module>rB      s     &I ]O }o }l .0@ + } $M $46F ) ) 3 	,- 	,	/0 	/"M "r   