File: //kunden/lib/python3/dist-packages/breezy/__pycache__/smtp_connection.cpython-39.pyc
a
�*�^� � @ s d Z ddlmZ zddlmZmZ W n" eyF ddlmZmZ Y n0 ddlZddl Z ddl
Z
ddlmZm
Z
ddlmZmZ ejddd d
�Zejdddd
�Zejd
ddd
�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )z#A convenience class around smtplib.� )�absolute_import)�getaddresses� parseaddrN� )�config�osutils)�BzrError�InternalBzrError�
smtp_passwordz3Password to use for authentication to SMTP server.
)�default�help�smtp_serverz6Hostname of the SMTP server to use for sending email.
�
smtp_usernamez3Username to use for authentication to SMTP server.
c @ s e Zd ZdZdd� ZdS )� SMTPErrorzSMTP error: %(error)sc C s
|| _ d S �N)�error)�selfr � r �8/usr/lib/python3/dist-packages/breezy/smtp_connection.py�__init__: s zSMTPError.__init__N��__name__�
__module__�__qualname__�_fmtr r r r r r 6 s r c @ s e Zd ZdZdd� ZdS )�SMTPConnectionRefusedz#SMTP connection to %(host)s refusedc C s || _ || _d S r )r �host)r r r r r r r B s zSMTPConnectionRefused.__init__Nr r r r r r >