From d39f2583c82d37966c07057440eee2b4831b7210 Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Wed, 3 Aug 2016 12:20:34 -0500 Subject: [PATCH] CRM-19173: Strip Bcc header. --- CRM/Utils/Mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Mail.php b/CRM/Utils/Mail.php index bfc9216cd1..a1f51ef0b3 100644 --- a/CRM/Utils/Mail.php +++ b/CRM/Utils/Mail.php @@ -267,6 +267,7 @@ class CRM_Utils_Mail { } if (!empty($headers['Bcc'])) { $to[] = CRM_Utils_Array::value('Bcc', $headers); + unset($headers['Bcc']); } } if (is_object($mailer)) { -- 2.25.1