diff --git a/front/php/templates/language/tr_tr.json b/front/php/templates/language/tr_tr.json old mode 100644 new mode 100755 diff --git a/front/plugins/_publisher_email/email_smtp.py b/front/plugins/_publisher_email/email_smtp.py index a55207e7..acd6b61d 100755 --- a/front/plugins/_publisher_email/email_smtp.py +++ b/front/plugins/_publisher_email/email_smtp.py @@ -123,12 +123,16 @@ def send(pHTML, pText): # handle multiple emails if ',' in to_email: - emails = [e.strip() for e in to_email.split(',')] + emails = to_email.split(',') else: - emails.append(to_email.strip()) + emails.append(to_email) + + mylog('debug', [f'[{pluginName}] Sending emails to {emails}']) for mail_addr in emails: + mail_addr = mail_addr.strip() + # Compose email msg = MIMEMultipart('alternative') msg['Subject'] = subject