mailparse does not work
| From: | Sonny2 at gmx dot de | Date: | Wed, 16 Apr 2003 20:25:06 +0000 |
| Subject: | mailparse does not work | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4894@lists.php.net to get a copy of this message | ||
Hello,
may i have something nisunderstood. I have installed 'mailparse' via pear
but It doesn't work.
[root@dreamcast development]# pear info mailparse
About mailparse-0.9.1
=====================
+-----------------+-------------------------------------------------+
| Package | mailparse |
| Summary | Email message manipulation |
| Description | Mailparse is an extension for parsing and |
| | working with email messages. |
| | It can deal with rfc822 and rfc2045 (MIME) |
| | compliant messages. |
| Maintainers | Wez Furlong <wez@php.net> (lead) |
| Version | 0.9.1 |
| Release Date | 2002-06-07 |
| Release License | PHP |
| Release State | beta |
| Release Notes | Bugfixes: |
| | - mailparse_msg_parse_file() no longer returns |
| | true instead of the mime resource. |
| Release Deps | ext mbstring == |
| Last Modified | 2003-02-07 |
+-----------------+-------------------------------------------------+
But when I try to useit -- like
if (!extension_loaded("mailparse")) @dl("mailparse.so");
$filename = "www";
$mime = mailparse_msg_parse_file($filename);
I'll get an error.
<font color=ff0000>
Fatal error: Call to undefined function: mailparse_msg_parse_file() in
/var/apache/htdocs/development/mailparse.php on line 6
</font>/var/apache/htdocs/development/mailparse.php(6) : Fatal error - Call
to undefined function: mailparse_msg_parse_file()
I use:
[root@dreamcast development]# php -v
PHP 4.3.1 (cli) (built: Apr 16 2003 05:24:22)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
on
[root@dreamcast development]# uname -a
SunOS dreamcast 5.9 Generic_112233-03 sun4u sparc SUNW,Ultra-80
May someone can help to figger out why this doesn't work.
THX in forward.
Cheers
-Peter
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!