2.1.24 fix send support mail

This commit is contained in:
SDE
2025-01-16 15:29:30 +03:00
parent 5f4ea5910d
commit 07ee30f360
2 changed files with 7 additions and 3 deletions

View File

@@ -145,8 +145,8 @@ def send_mail_by_SMTPlib(sets, subject, from_email, to_init, html_content, smtp_
res = None
if type(to) in (list, tuple):
if sets['sender_email'] in to:
to.remove(sets['sender_email'])
# if sets['sender_email'] in to:
# to.remove(sets['sender_email'])
if len(to) > 1:
to_str = u', '.join(to)