From ccafac393d6f8fbb2133ba9a0ea904d2bf7f2dc6 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Sun, 25 Oct 2015 22:24:19 -0500 Subject: [PATCH] Fixing issue when sending email with smtp --- pluf/src/Pluf/Mail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pluf/src/Pluf/Mail.php b/pluf/src/Pluf/Mail.php index 8e83dab..24865cf 100644 --- a/pluf/src/Pluf/Mail.php +++ b/pluf/src/Pluf/Mail.php @@ -131,7 +131,8 @@ class Pluf_Mail { $bccemails[] = $admin[1]; } - $this->headers["BCC"] = implode(",", $bccemails); + $this->headers["Bcc"] = implode(",", $bccemails); + $this->to_address .= "$dest," . implode(", ", $bccemails); } }