[sysadmin-bin] Make sure the e-mail is also sent to the defined CC list



commit 2e23ae1c76ff8f153e535df32f30a6c514ed613e
Author: Andrea Veri <av gnome org>
Date:   Thu Oct 9 11:08:48 2014 +0200

    Make sure the e-mail is also sent to the defined CC list

 membership/foundation-operations.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/membership/foundation-operations.py b/membership/foundation-operations.py
index 1c49993..ea99b91 100755
--- a/membership/foundation-operations.py
+++ b/membership/foundation-operations.py
@@ -161,7 +161,7 @@ def send_form_letters(form_letter, email, name):
         msg['Reply-To']  = "membership-committee gnome org"
         msg['Cc'] = "membership-committee gnome org"
         server = smtplib.SMTP("localhost")
-        server.sendmail(msg['From'], msg['To'], msg.as_string())
+        server.sendmail(msg['From'], msg['To'], msg['Cc', msg.as_string())
         server.quit()
         print "Successfully sent email to %s with email %s" % (name, email)
     except smtplib.SMTPException:


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