🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 04:44:23 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
xray
/
continuous
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/xray/continuous/__pycache__
🔄 Refresh
✏️
Editing: mailer.cpython-311.pyc
Read Only
� f�j � � � d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ d dl m Z d dlmZ d dl mZ ddlmZmZ dd lmZ h d �Z G d� d� � ZdS ) � N)�ConfigParser�SectionProxy)�EmailMessage)�gethostname)�Optional)�gettext� )�mail_template_location�mail_scripts_location)�XRayMailerError> �Plesk�cPanel�DirectAdminc � � e Zd ZdZd� Zedefd�� � Zedefd�� � Z defd�Z dee fd�Zdee fd�Z edd edefd�� � Zdedd fd�Zdedd fd�Zdedd fd�Z ddededd fd�Zd S )�Mailerz0 Class contains X-Ray e-mail send logic c �F � t j d� � | _ d | _ d S )N�mailer)�logging� getLogger�logger�_sender��selfs �M/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/continuous/mailer.py�__init__zMailer.__init__ s � ��'��1�1�������� �returnc � � dS )z+ Local mail server address )� localhost� r s r �mail_serverzMailer.mail_server! s � � �r c �P � | j �| � � � | _ | j S )zG Retrieve 'From' mail address if it is not already set )r �retrieve_mail_senderr s r �senderz Mailer.sender( s'