protected function _addRecipientAndHeader($headerName, $email, $name)
    {
        $email = $this->_filterEmail($email);
        $name  = $this->_filterName($name);
        // prevent duplicates
        $this->_recipients[$email] = 1;
        $this->_storeHeader($headerName, $this->_formatAddress($email, $name), true);
    }
protected function _addRecipientAndHeader($headerName, $email, $name)
    {
        $email = $this->_filterEmail($email);
        $name  = $this->_filterName($name);
        // prevent duplicates
        $this->_recipients[$email] = 1;
        $this->_storeHeader($headerName, $this->_formatAddress($email, $name), true);
    }
protected function _addRecipientAndHeader ( $ headerName , $ email , $ name ) { $ email = $ this -> _filterEmail ( $ email ) ; $ name = $ this -> _filterName ( $ name ) ; // prevent duplicates $ this -> _recipients [ $ email ] = 1 ; $ this -> _storeHeader ( $ headerName , $ this -> _formatAddress ( $ email , $ name ) , true ) ; }
Helper function for adding a recipient and the corresponding header

@param string $headerName
@param string $email
@param string $name
Helper function for adding a recipient and the corresponding header