This commit is contained in:
jokob-sk
2025-05-08 08:30:57 +10:00
parent 984bc58cf2
commit 87eda72a62
2 changed files with 6 additions and 2 deletions

0
front/php/templates/language/tr_tr.json Normal file → Executable file
View File

View File

@@ -123,12 +123,16 @@ def send(pHTML, pText):
# handle multiple emails # handle multiple emails
if ',' in to_email: if ',' in to_email:
emails = [e.strip() for e in to_email.split(',')] emails = to_email.split(',')
else: else:
emails.append(to_email.strip()) emails.append(to_email)
mylog('debug', [f'[{pluginName}] Sending emails to {emails}'])
for mail_addr in emails: for mail_addr in emails:
mail_addr = mail_addr.strip()
# Compose email # Compose email
msg = MIMEMultipart('alternative') msg = MIMEMultipart('alternative')
msg['Subject'] = subject msg['Subject'] = subject