Viewing File: /opt/alt/tests/alt-php82-pecl-mailparse_3.1.8-1.el8/tests/012.phpt
--TEST--
Check mailparse_mimemessage_extract_uue (file mode)
--SKIPIF--
<?php
/* vim600: sw=4 ts=4 fdm=marker syn=php
*/
if (!extension_loaded("mailparse")) print "skip"; ?>
--FILE--
<?php
$msg = new MimeMessage("file", dirname(__FILE__) . "/testdata/oeuue");
var_dump( $msg->extract_uue(0, MAILPARSE_EXTRACT_RETURN));
?>
--EXPECT--
string(88) "FooBar - Baaaaa
Requirements:
o php with mailparse
o virus scanner (optional)
"
Back to Directory
File Manager
<