From 9777026e85f1891e53c5e89198ad9b0604c5cba4 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 23 2014 14:49:34 +0000 Subject: Let's be nice and send the emails in Bcc --- diff --git a/progit/notify.py b/progit/notify.py index d94a4e0..5fc447f 100644 --- a/progit/notify.py +++ b/progit/notify.py @@ -32,7 +32,7 @@ def send_email(text, subject, to_mail, from_mail=None): if not from_mail: from_email = 'progit@fedoraproject.org' msg['From'] = from_email - msg['To'] = to_mail.replace(',', ', ') + msg['Bcc'] = to_mail.replace(',', ', ') # Send the message via our own SMTP server, but don't include the # envelope header.