return $ret;
}
- /*
+ /**
+ * Scan text for armored PGP blocks and, if they exist, convert the part
+ * to the embedded MIME representation.
+ *
+ * @return mixed See self::_getEmbeddedMimeParts().
*/
protected function _parsePGP()
{
}
}
- $new_part->setMimeId($mime_id);
+ $new_part->buildMimeIds($mime_id);
return array($mime_id => $new_part);
}
+ /**
+ * Scan text for UUencode data an, if it exists, convert the part to the
+ * embedded MIME representation.
+ *
+ * @return mixed See self::_getEmbeddedMimeParts().
+ */
protected function _parseUUencode()
{
$text = String::convertCharset($this->_mimepart->getContents(), $this->_mimepart->getCharset());
$new_part->addPart($uupart);
}
- $new_part->setMimeId($mime_id);
+ $new_part->buildMimeIds($mime_id);
return array($mime_id => $new_part);
}