Hi!
PHP provides very useful functions to fetch emails from a POP3 account, in my case to handle bounce-mails. The function imap_fetchstructure(), however, gives me headache. When using it in one script, I (for some mails) get the message:
Notice: Unknown: Warning: MIME header encountered in non-MIME message (errflg=3) in Unknown on line 0
A Bug reported to PHP was set to status Bugus (http://bugs.php.net/bug.php?id=43471), but I fail to find a clue on this problem in the documentation.
Neither placing a @ before the function nor changing the error handler before the function (and resetting it after that) helps. Turning error reporting off or permanently changing the error handler or the error reporting level help (it seems that the error is triggered at the and of the script) - however, I need to register other errors that may occur after using this function.
Therefore I search for a hint at Stackoverflow: What exactly does the function mourn about (I guess a malformned MIME header or content) and how do I get rid of this error notice?
Thank you