lib/mail/BccSettings.php
public function setEmail($email)
    {
        if (!is_string($email) &&
            filter_var($email, FILTER_VALIDATE_EMAIL)
        ) {
            throw new TypeException(
                '$email must valid and be of type string.'
            );
        }
        $this->email = $email;
    }
public function setEmail($email)
    {
        if (!is_string($email) &&
            filter_var($email, FILTER_VALIDATE_EMAIL)
        ) {
            throw new TypeException(
                '$email must valid and be of type string.'
            );
        }
        $this->email = $email;
    }
public function setEmail ( $ email ) { if ( ! is_string ( $ email ) && filter_var ( $ email , FILTER_VALIDATE_EMAIL ) ) { throw new TypeException ( '$email must valid and be of type string.' ) ; } $ this -> email = $ email ; }
Add the email setting on a BccSettings object

@param string $email The email address that you would like
to receive the BCC

@throws TypeException
Add the email setting on a BccSettings object