original_string: public function generateMessage($EOL = Zend_Mime::LINEEND)
      {
          if (! $this->isMultiPart()) {
              $body = array_shift($this->_parts);
              $body = $body->getContent($EOL);
          } else {
              $mime = $this->getMime();
  
              $boundaryLine = $mime->boundaryLine($EOL);
              $body = 'This is a message in Mime Format.  If you see this, '
                    . "your mail reader does not support this format." . $EOL;
  
              foreach (array_keys($this->_parts) as $p) {
                  $body .= $boundaryLine
                         . $this->getPartHeaders($p, $EOL)
                         . $EOL
                         . $this->getPartContent($p, $EOL);
              }
  
              $body .= $mime->mimeEnd($EOL);
          }
  
          return trim($body);
      }
code: public function generateMessage($EOL = Zend_Mime::LINEEND)
      {
          if (! $this->isMultiPart()) {
              $body = array_shift($this->_parts);
              $body = $body->getContent($EOL);
          } else {
              $mime = $this->getMime();
  
              $boundaryLine = $mime->boundaryLine($EOL);
              $body = 'This is a message in Mime Format.  If you see this, '
                    . "your mail reader does not support this format." . $EOL;
  
              foreach (array_keys($this->_parts) as $p) {
                  $body .= $boundaryLine
                         . $this->getPartHeaders($p, $EOL)
                         . $EOL
                         . $this->getPartContent($p, $EOL);
              }
  
              $body .= $mime->mimeEnd($EOL);
          }
  
          return trim($body);
      }
code_tokens: public function generateMessage ( $ EOL = Zend_Mime :: LINEEND ) { if ( ! $ this -> isMultiPart ( ) ) { $ body = array_shift ( $ this -> _parts ) ; $ body = $ body -> getContent ( $ EOL ) ; } else { $ mime = $ this -> getMime ( ) ; $ boundaryLine = $ mime -> boundaryLine ( $ EOL ) ; $ body = 'This is a message in Mime Format.  If you see this, ' . "your mail reader does not support this format." . $ EOL ; foreach ( array_keys ( $ this -> _parts ) as $ p ) { $ body .= $ boundaryLine . $ this -> getPartHeaders ( $ p , $ EOL ) . $ EOL . $ this -> getPartContent ( $ p , $ EOL ) ; } $ body .= $ mime -> mimeEnd ( $ EOL ) ; } return trim ( $ body ) ; }
docstring: Generate MIME-compliant message from the current configuration
  
  This can be a multipart message if more than one MIME part was added. If
  only one part is present, the content of this part is returned. If no
  part had been added, an empty string is returned.
  
  Parts are seperated by the mime boundary as defined in Zend_Mime. If
  {@link setMime()} has been called before this method, the Zend_Mime
  object set by this call will be used. Otherwise, a new Zend_Mime object
  is generated and used.
  
  @param string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
  @return string
docstring_tokens: Generate MIME - compliant message from the current configuration