Mail and BCC

Pk Pkoll 14h ago
Hi Max, The email addresses come from an array and I convert them into a string using a PHP script. php47. $bcc_clean = []; foreach ($this->data['bcc_list'] as $mail) { $mail = trim($mail); if (filter_var($mail, FILTER_VALIDATE_EMAIL)) { $bcc_clean[] = $mail; } } return implode(',', $bcc_clean); I put {var:php47} in the BCC field. Everything looks perfect. But when I send the email, I get this error: Invalid address: (bcc): xxxxxxxxxxxn@gmail.com, xxxxxxxxxx where the @gmail.com from the last mailadres disappeared. Is this a bug or is it impossible to usee more then one BCC adres Greetings Paul
Post a Reply