From b8f3f6202a311ea33e884b520da8c1915c7f5d37 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 22 Nov 2010 23:02:53 +0100 Subject: [PATCH] Fix actually bcc ing dead host mails. --- mail-dead-hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-dead-hosts.py b/mail-dead-hosts.py index 94aa1339..35777f59 100755 --- a/mail-dead-hosts.py +++ b/mail-dead-hosts.py @@ -72,7 +72,7 @@ The Build Farm administration team. if opts.dry_run: print msg.as_string() else: - smtp.sendmail(msg["From"], [msg["To"]], msg.as_string()) + smtp.sendmail(msg["From"], [msg["To"], msg["Bcc"]], msg.as_string()) host.dead_mail_sent() buildfarm.commit() smtp.quit() -- 2.45.1