%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/twisted/mail/scripts/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/twisted/mail/scripts/__pycache__/mailmail.cpython-312.pyc |
� Ϫ�fh( � �^ � d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl mZ ddlm Z ddlmZmZ ddlmZ d Zej( j+ d � ZdZdZ eej2 � Z ee� � Z G d� d� Zd� Z ed� Zd� Z G d� d� Z!d� Z"d� Z#da$d� Z%d� Z&d� Z'd� Z(d� Z)y)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 � � e Zd ZdZy)�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__� � �?/usr/lib/python3/dist-packages/twisted/mail/scripts/mailmail.pyr r ( s � �r r c �r � t j � S # t $ r t j � cY S w xY w�N)�os�getlogin� BaseException�getpass�getuserr r r r r 8 s/ � �!��{�{�}���� !���� � �!�s � �6�6zUnsupported option.c �d � t � }| D �cg c] }|j d� r�|�� c}|_ t � |_ d| v rt dt � t � �d| v rt �d| v rt �d| v rA| | j d� dz |_ |j j |j � d| v sd | v rt �d | v rd|_ nd|_ d | v rd|_ nd|_ d| v sd| v rd|_ nd|_ d| v rt �d| v r d|_ |j |_ g |_ nd|_ g |_ g g g g g d�}t! � } d}t"