관리-도구
편집 파일: mailer.cpython-311.pyc
� 9�1g� � �� � d Z ddlZddlZddlZddlZddlmZmZ ddlm Z ddl mZ ddlm Z ddlmZmZ ddlmZ d d lmZ d dlmZ d dlmZmZ d � Zdedefd�Z G d� d� � ZdS )z8 This module contains SSA Mailer class and helper tools � N)�ConfigParser�SectionProxy)�EmailMessage��gethostname)�is_cl_solo_edition)�Environment�FileSystemLoader��get_ip_addr� )�mail_template_location)�SSAMailerError)� duration_cast�format_datec �$ � t | � � pdS )N�UNKNOWNr )�hostnames �J/opt/cloudlinux/venv/lib64/python3.11/site-packages/ssa/internal/mailer.py�_get_server_ipr s � ��x� � �-�I�-� �report_data�returnc � � t t t � � dd�� � }t |j d<