/**
* if this was created with a stream, return a filtered stream for
* reading the content. very useful for large file attachments.
*
* @return stream
* @throws Zend_Mime_Exception if not a stream or unable to append filter
*/
public function getEncodedStream() { if (!
$this->_isStream
) { throw new Zend_Mime_Exception('Attempt to get a stream from a string part'
);
} //stream_filter_remove(); // ??? is that right?
switch ($this->encoding
) { case Zend_Mime::ENCODING_QUOTEDPRINTABLE:
$filter =
stream_filter_append( $this->_content,
'convert.quoted-printable-encode',
STREAM_FILTER_READ,
array
( 'line-length' => 76,