[sysadmin-bin] There would be no CC anymore



commit 280b907285282cd58326f5ddf343c541ef97e6ff
Author: Andrea Veri <averi redhat com>
Date:   Mon Jan 17 11:58:27 2022 +0100

    There would be no CC anymore

 membership/foundation-operations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/membership/foundation-operations.py b/membership/foundation-operations.py
index d6495fb..a021ae9 100755
--- a/membership/foundation-operations.py
+++ b/membership/foundation-operations.py
@@ -163,7 +163,7 @@ def send_form_letters(form_letter, email, name, *args):
         msg['From'] = "GNOME Foundation Membership Committee <noreply gnome org>"
         msg['To'] = "%s" % (email)
         server = smtplib.SMTP("localhost")
-        server.sendmail(msg['From'], [msg['To'], msg['Cc']], msg.as_string())
+        server.sendmail(msg['From'], [msg['To']], msg.as_string())
         server.quit()
         print(f"Successfully sent email to { name } with email { email }")
     except smtplib.SMTPException:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]