original_string: public function setHeaderEncoding($encoding)
      {
          $allowed = array(
              Zend_Mime::ENCODING_BASE64,
              Zend_Mime::ENCODING_QUOTEDPRINTABLE
          );
          if (!in_array($encoding, $allowed)) {
              /**
               * @see Zend_Mail_Exception
               */
              // require_once 'Zend/Mail/Exception.php';
              throw new Zend_Mail_Exception('Invalid encoding "' . $encoding . '"');
          }
          $this->_headerEncoding = $encoding;
  
          return $this;
      }
code: public function setHeaderEncoding($encoding)
      {
          $allowed = array(
              Zend_Mime::ENCODING_BASE64,
              Zend_Mime::ENCODING_QUOTEDPRINTABLE
          );
          if (!in_array($encoding, $allowed)) {
              /**
               * @see Zend_Mail_Exception
               */
              // require_once 'Zend/Mail/Exception.php';
              throw new Zend_Mail_Exception('Invalid encoding "' . $encoding . '"');
          }
          $this->_headerEncoding = $encoding;
  
          return $this;
      }
code_tokens: public function setHeaderEncoding ( $ encoding ) { $ allowed = array ( Zend_Mime :: ENCODING_BASE64 , Zend_Mime :: ENCODING_QUOTEDPRINTABLE ) ; if ( ! in_array ( $ encoding , $ allowed ) ) { /**
               * @see Zend_Mail_Exception
               */ // require_once 'Zend/Mail/Exception.php'; throw new Zend_Mail_Exception ( 'Invalid encoding "' . $ encoding . '"' ) ; } $ this -> _headerEncoding = $ encoding ; return $ this ; }
docstring: Set the encoding of mail headers
  
  @param  string $encoding Zend_Mime::ENCODING_QUOTEDPRINTABLE or Zend_Mime::ENCODING_BASE64
  @return Zend_Mail Provides fluent interface
docstring_tokens: Set the encoding of mail headers