original_string: public function sendRequest($command, $tokens = array(), &$tag = null)
      {
          if (!$tag) {
              ++$this->_tagCount;
              $tag = 'TAG' . $this->_tagCount;
          }
  
          $line = $tag . ' ' . $command;
  
          foreach ($tokens as $token) {
              if (is_array($token)) {
                  if (@fputs($this->_socket, $line . ' ' . $token[0] . "\r\n") === false) {
                      /**
                       * @see Zend_Mail_Protocol_Exception
                       */
                      // require_once 'Zend/Mail/Protocol/Exception.php';
                      throw new Zend_Mail_Protocol_Exception('cannot write - connection closed?');
                  }
                  if (!$this->_assumedNextLine('+ ')) {
                      /**
                       * @see Zend_Mail_Protocol_Exception
                       */
                      // require_once 'Zend/Mail/Protocol/Exception.php';
                      throw new Zend_Mail_Protocol_Exception('cannot send literal string');
                  }
                  $line = $token[1];
              } else {
                  $line .= ' ' . $token;
              }
          }
  
          if (@fputs($this->_socket, $line . "\r\n") === false) {
              /**
               * @see Zend_Mail_Protocol_Exception
               */
              // require_once 'Zend/Mail/Protocol/Exception.php';
              throw new Zend_Mail_Protocol_Exception('cannot write - connection closed?');
          }
      }
code: public function sendRequest($command, $tokens = array(), &$tag = null)
      {
          if (!$tag) {
              ++$this->_tagCount;
              $tag = 'TAG' . $this->_tagCount;
          }
  
          $line = $tag . ' ' . $command;
  
          foreach ($tokens as $token) {
              if (is_array($token)) {
                  if (@fputs($this->_socket, $line . ' ' . $token[0] . "\r\n") === false) {
                      /**
                       * @see Zend_Mail_Protocol_Exception
                       */
                      // require_once 'Zend/Mail/Protocol/Exception.php';
                      throw new Zend_Mail_Protocol_Exception('cannot write - connection closed?');
                  }
                  if (!$this->_assumedNextLine('+ ')) {
                      /**
                       * @see Zend_Mail_Protocol_Exception
                       */
                      // require_once 'Zend/Mail/Protocol/Exception.php';
                      throw new Zend_Mail_Protocol_Exception('cannot send literal string');
                  }
                  $line = $token[1];
              } else {
                  $line .= ' ' . $token;
              }
          }
  
          if (@fputs($this->_socket, $line . "\r\n") === false) {
              /**
               * @see Zend_Mail_Protocol_Exception
               */
              // require_once 'Zend/Mail/Protocol/Exception.php';
              throw new Zend_Mail_Protocol_Exception('cannot write - connection closed?');
          }
      }
code_tokens: public function sendRequest ( $ command , $ tokens = array ( ) , & $ tag = null ) { if ( ! $ tag ) { ++ $ this -> _tagCount ; $ tag = 'TAG' . $ this -> _tagCount ; } $ line = $ tag . ' ' . $ command ; foreach ( $ tokens as $ token ) { if ( is_array ( $ token ) ) { if ( @ fputs ( $ this -> _socket , $ line . ' ' . $ token [ 0 ] . "\r\n" ) === false ) { /**
                       * @see Zend_Mail_Protocol_Exception
                       */ // require_once 'Zend/Mail/Protocol/Exception.php'; throw new Zend_Mail_Protocol_Exception ( 'cannot write - connection closed?' ) ; } if ( ! $ this -> _assumedNextLine ( '+ ' ) ) { /**
                       * @see Zend_Mail_Protocol_Exception
                       */ // require_once 'Zend/Mail/Protocol/Exception.php'; throw new Zend_Mail_Protocol_Exception ( 'cannot send literal string' ) ; } $ line = $ token [ 1 ] ; } else { $ line .= ' ' . $ token ; } } if ( @ fputs ( $ this -> _socket , $ line . "\r\n" ) === false ) { /**
               * @see Zend_Mail_Protocol_Exception
               */ // require_once 'Zend/Mail/Protocol/Exception.php'; throw new Zend_Mail_Protocol_Exception ( 'cannot write - connection closed?' ) ; } }
docstring: send a request
  
  @param  string $command your request command
  @param  array  $tokens  additional parameters to command, use escapeString() to prepare
  @param  string $tag     provide a tag otherwise an autogenerated is returned
  @return null
  @throws Zend_Mail_Protocol_Exception
docstring_tokens: send a request