https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/django/core/mail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/core/mail/__init__.pyc
�
r�\c@s�dZddlmZddlmZddlmZddlmZm	Z	ddl
mZmZm
Z
mZmZmZmZmZded�Zedddd�Zedddd	�Zeddd
�Zeddd�ZdS(
u
Tools for sending email.
i����(tunicode_literals(tsettings(timport_by_path(t
CachedDnsNametDNS_NAME(tEmailMessagetEmailMultiAlternativestSafeMIMETexttSafeMIMEMultiparttDEFAULT_ATTACHMENT_MIME_TYPEt
make_msgidtBadHeaderErrortforbid_multi_line_headerscKs%t|ptj�}|d||�S(u�Load an email backend and return an instance of it.

    If backend is None (default) settings.EMAIL_BACKEND is used.

    Both fail_silently and other keyword arguments are used in the
    constructor of the backend.
    t
fail_silently(RRt
EMAIL_BACKEND(tbackendR
tkwdstklass((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pytget_connectionscCs@|ptd|d|d|�}t||||d|�j�S(u�
    Easy wrapper for sending a single message to a recipient list. All members
    of the recipient list will see the other recipients in the 'To' field.

    If auth_user is None, the EMAIL_HOST_USER setting is used.
    If auth_password is None, the EMAIL_HOST_PASSWORD setting is used.

    Note: The API for this method is frozen. New code wanting to extend the
    functionality should use the EmailMessage class directly.
    tusernametpasswordR
t
connection(RRtsend(tsubjecttmessaget
from_emailtrecipient_listR
t	auth_usert
auth_passwordR((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pyt	send_mail!s

	c

Csh|ptd|d|d|�}g|D]-\}}}}t||||d|�^q(}	|j|	�S(u9
    Given a datatuple of (subject, message, from_email, recipient_list), sends
    each message to each recipient list. Returns the number of emails sent.

    If from_email is None, the DEFAULT_FROM_EMAIL setting is used.
    If auth_user and auth_password are set, they're used to log in.
    If auth_user is None, the EMAIL_HOST_USER setting is used.
    If auth_password is None, the EMAIL_HOST_PASSWORD setting is used.

    Note: The API for this method is frozen. New code wanting to extend the
    functionality should use the EmailMessage class directly.
    RRR
R(RRt
send_messages(
t	datatupleR
RRRRRtsendert	recipienttmessages((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pytsend_mass_mail5s	7cCstjs
dStdtj|f|tjgtjD]}|d^q3d|�}|rk|j|d�n|jd|�dS(u@Sends a message to the admins, as defined by the ADMINS setting.Nu%s%siRu	text/htmlR
(RtADMINSRtEMAIL_SUBJECT_PREFIXtSERVER_EMAILtattach_alternativeR(RRR
Rthtml_messagetatmail((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pytmail_adminsLs	)	cCstjs
dStdtj|f|tjgtjD]}|d^q3d|�}|rk|j|d�n|jd|�dS(uDSends a message to the managers, as defined by the MANAGERS setting.Nu%s%siRu	text/htmlR
(RtMANAGERSRR%R&R'R(RRR
RR(R)R*((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pyt
mail_managersYs	)	N(t__doc__t
__future__Rtdjango.confRtdjango.utils.module_loadingRtdjango.core.mail.utilsRRtdjango.core.mail.messageRRRRR	R
RRtNonetFalseRRR#R+R-(((s;/tmp/pip-install-XxeQeY/django/django/core/mail/__init__.pyt<module>s:
	

https://t.me/AnonymousX5 - 2025