Viewing 2 replies - 1 through 2 (of 2 total)
  • Looks like the wrong end of line terminator between the X-Mailer header and the Bcc header.

    Thread Starter Anonymous User

    (@anonymized-12561252)

    I have fixed it by adding PHP_EOL before BCC

    function bcc_everything($args) {
      $email = bcce_recipient();
      if (is_array($args['headers'])) {
        $args['headers'][] = PHP_EOL.'Bcc: '.$email;
      }
      else {
        $args['headers'] .= PHP_EOL.'Bcc: '.$email."\r\n";
      }
      return $args;
    }

    I think now it works 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not working’ is closed to new replies.