As an alternative, uudecode() can be called as static function as follows:$file =& Mail_mimeDecode::uudecode($some_text);This will return the following arrays: @param string Input body to look for attachments in @return array Decoded bodies, filenames and permissions