File: //usr/lib/python3/dist-packages/twisted/mail/scripts/__pycache__/mailmail.cpython-310.pyc
o
�bn( � @ s d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl
mZ ddlm
Z
ddlmZmZ ddlmZ d Zej�d
�ZdZdZeej�Zeed
�ZG dd� d�Zdd� Zed�Zdd� Z G dd� d�Z!dd� Z"dd� Z#da$dd� Z%dd� Z&dd � Z'd!d"� Z(d#d$� Z)dS )%z4
Implementation module for the I{mailmail} command.
� N)�ConfigParser)�StringIO)�version)�reactor)�Logger�textFileLogObserver)�smtpz
/etc/mailmailz~/.twisted/mailmailz 127.0.0.1z�Subject: Failed Message Delivery
Message delivery failed. The following occurred:
%s
--
The Twisted sendmail application.
)�observerc @ s e Zd ZdZdS )�Optionsat
Store the values of the parsed command-line options to the I{mailmail}
script.
@type to: L{list} of L{str}
@ivar to: The addresses to which to deliver this message.
@type sender: L{str}
@ivar sender: The address from which this message is being sent.
@type body: C{file}
@ivar body: The object from which the message is to be read.
N)�__name__�
__module__�__qualname__�__doc__� r r �?/usr/lib/python3/dist-packages/twisted/mail/scripts/mailmail.pyr
( s r
c C s&