php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43471 imap_fetchstructure: MIME header encountered in non-MIME message
Submitted: 2007-12-01 14:52 UTC Modified: 2008-08-05 01:11 UTC
From: phpdeveloper at ukr dot net Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.2.5 OS: windows2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: phpdeveloper at ukr dot net
New email:
PHP Version: OS:

 

 [2007-12-01 14:52 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-05 01:11 UTC] 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


 [2010-05-15 21:09 UTC] burninleo at gmx dot net
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 19:01:31 2025 UTC