mirror of
https://github.com/php/pecl-mail-mailparse.git
synced 2026-03-23 22:52:14 +01:00
22 lines
435 B
PHP
22 lines
435 B
PHP
--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)
|
|
|
|
|
|
"
|