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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC