Bug #43471 [Com]: imap_fetchstructure: MIME header encountered in non-MIME message

From: Date: Sat, 15 May 2010 19:09:09 +0000
Subject: Bug #43471 [Com]: imap_fetchstructure: MIME header encountered in non-MIME message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150489@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=43471&edit=1

 ID:               43471
 Comment by:       burninleo at gmx dot net
 Reported by:      phpdeveloper at ukr dot net
 Summary:          imap_fetchstructure: MIME header encountered in
                   non-MIME message
 Status:           Bogus
 Type:             Bug
 Package:          IMAP related
 Operating System: windows2000
 PHP Version:      5.2.5

 New Comment:

Hi!

Although this seems a common and sensible error message, something is
working wrong: The error cannot be cought by an @ before the function or
by setting error_reporting(E_ERROR) although it is a E_NOTICE, according
to the message:

Notice: Unknown: Warning: MIME header encountered in non-MIME message
(errflg=3) in Unknown on line 0

I assume, that this behavior is due to the architecture, however, this
makes it hard to use the function within a productive system.

Greetings
BurninLeo


Previous Comments:
------------------------------------------------------------------------
[2008-08-05 01:11:59] jani@php.net

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php



------------------------------------------------------------------------
[2007-12-01 14:52:45] phpdeveloper at ukr dot net

Description:
------------
imap_fetchstructure() generate error with some email messages.





Reproduce code:
---------------
<?

$mbox = imap_open("{pop.mail.ru/pop3:110}INBOX", 'my_login',
'my_password');

$s = imap_fetchstructure($mbox , 2);
?>

Expected result:
----------------
Blank page without errors

Actual result:
--------------
Notice: Unknown: Warning: MIME header encountered in non-MIME message
(errflg=3) in Unknown on line 0


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=43471&edit=1


Thread (3 messages)

« previous php.bugs (#150489) next »