public function addPart($mime_type, $content, $charset = 'us-ascii',
                            $disposition = null)
    {
        $part = new Horde_Mime_Part();
        $part->setType($mime_type);
        $part->setCharset($charset);
        $part->setDisposition($disposition);
        $part->setContents($content);
        return $this->addMimePart($part);
    }
public function addPart($mime_type, $content, $charset = 'us-ascii',
                            $disposition = null)
    {
        $part = new Horde_Mime_Part();
        $part->setType($mime_type);
        $part->setCharset($charset);
        $part->setDisposition($disposition);
        $part->setContents($content);
        return $this->addMimePart($part);
    }
public function addPart ( $ mime_type , $ content , $ charset = 'us-ascii' , $ disposition = null ) { $ part = new Horde_Mime_Part ( ) ; $ part -> setType ( $ mime_type ) ; $ part -> setCharset ( $ charset ) ; $ part -> setDisposition ( $ disposition ) ; $ part -> setContents ( $ content ) ; return $ this -> addMimePart ( $ part ) ; }
Adds a message part.

@param string $mime_type    The content type of the part.
@param string $content      The content of the part.
@param string $charset      The character set of the part.
@param string $disposition  The content disposition of the part.

@return integer  The part number.
Adds a message part .