public function toMimePart()
    {
        /** @var Zend_Mime_Part $attachmentMimePart */
        $attachmentMimePart = new Zend_Mime_Part($this->getBinary());

        $attachmentMimePart->type = $this->getMimeType();
        $attachmentMimePart->disposition = $this->getDisposition();
        $attachmentMimePart->encoding = $this->getEncoding();
        $attachmentMimePart->filename = $this->getFileName();

        return $attachmentMimePart;
    }
public function toMimePart()
    {
        /** @var Zend_Mime_Part $attachmentMimePart */
        $attachmentMimePart = new Zend_Mime_Part($this->getBinary());

        $attachmentMimePart->type = $this->getMimeType();
        $attachmentMimePart->disposition = $this->getDisposition();
        $attachmentMimePart->encoding = $this->getEncoding();
        $attachmentMimePart->filename = $this->getFileName();

        return $attachmentMimePart;
    }
public function toMimePart ( ) { /** @var Zend_Mime_Part $attachmentMimePart */ $ attachmentMimePart = new Zend_Mime_Part ( $ this -> getBinary ( ) ) ; $ attachmentMimePart -> type = $ this -> getMimeType ( ) ; $ attachmentMimePart -> disposition = $ this -> getDisposition ( ) ; $ attachmentMimePart -> encoding = $ this -> getEncoding ( ) ; $ attachmentMimePart -> filename = $ this -> getFileName ( ) ; return $ attachmentMimePart ; }
Returns a mime part converted attachment

@return Zend_Mime_Part
Returns a mime part converted attachment