Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] PHP3/imap.so core dump From: Mark Musone (musone <email protected>)
Date: 07/09/98

yea..rfc822 enacpsulated messages have been a little flakey (and still are)
so are multiple-encapsulated messages, and alternate types..

The code i'm sending you should not core dump except in some extreme cases..it's a lot
more cleaner than the current code..

                Mark

>
> On Thu, Jul 09, 1998 at 10:43:15AM -0700, brian moore wrote:
> > My cheap (and non-complete) hack is to only parse message/rfc822 as
> > proper subtypes:
> >
> > if ( ( body->type == TYPEMESSAGE )
> > && !strncasecomp(body->subtype, "rfc822", 6)
> :s/comp/cmp/ I need to learn to type...
> > && ( body = body->CONTENT_MSG_BODY )) {
> >
> > I have no doubt that the 'real' fix should be something else, but don't
> > know the code or MIME well enough to fix it. This at least lets me look
> > at mailboxes with said bounces in it.
>
> And now examples/espanol/dlimapbd3.php3 does some funky things and gets a
> bit confused (I said I knew it isn't the 'right' solution..... :)):
>
> Warning: $header is not an object in /www/users/bem/dlimpbd3.phtml on line 33
>
> Warning: $header is not an object in /www/users/bem/dlimpbd3.phtml on line 41
>
> 0 ([RFC-822] header of the message)
> MULTIPART/REPORT
> 1 TEXT/PLAIN
> 2 MESSAGE/DELIVERY-STATUS
> 2.1 Warning: $header is not an object in /www/users/bem/dlimpbd3.phtml on line 27
> Warning: $header is not an object in /www/users/bem/dlimpbd3.phtml on line 30
> TEXT/UNKNOWN
> 3 TEXT/RFC822-HEADERS
>
> --
> Brian Moore Kill A Spammer For Jesus
> Sysadmin, C/Perl Hacker, Usenet Vandal
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
>
>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive: http://www.tryc.on.ca/php3.html