Dear Lemos,
Firstly thanks for your great pop3 and mime_parser class. I've been using your those classes in an application and which has been working great. But recently I've shifted my application on a new server and I strangely see that mime_parser's Decode method gives empty results. After that-
I've placed the browse_mailbox.php script on that server and find that it's also giving empty output.
Here I should mention that the servers all the ports are ok. Here I am giving you the page source of the output of browse_mailbox.php.
<html>
<head>
<title>Parsing a message with Manuel Lemos' PHP POP3 and MIME Parser classes</title>
</head>
<body>
<center><h1>Parsing a message with Manuel Lemos' PHP POP3 and MIME Parser classes</h1></center>
<hr />
<br />
<b>Warning</b>: stream_wrapper_register() [<a href='function.stream-wrapper-register'>function.stream-wrapper-register</a>]: Protocol pop3:// is already defined. in <b>/home/primatex/public_html/helpdesk/app/webroot/test/poptest/browse_mailbox.php</b> on line <b>27</b><br />
Connecting to mail.codetrio.com ...<br />
S +OK Dovecot ready.<br />
<PRE>Connected to the POP3 server "mail.codetrio.com".</PRE>
C USER
[email protected]<br />
S +OK<br />
C PASS hello+WORLD<br />
S +OK Logged in.<br />
<PRE>User "
[email protected]" logged in.</PRE>
C STAT<br />
S +OK 1 11292<br />
<PRE>There are 1 messages in the mail box with a total of 11292 bytes.</PRE>
<h2>MIME message decoding successful</h2>
<h2>Message structure</h2>
<pre>array(3) {
["Headers"]=>
array(0) {
}
["Parts"]=>
array(0) {
}
["Position"]=>
int(0)
}
</pre><h2>Message analysis</h2>
<pre>array(2) {
["Type"]=>
string(4) "text"
["Description"]=>
string(12) "Text message"
}
</pre>C QUIT<br />
S +OK Logging out.<br />
Closing connection.<br />
<PRE>Disconnected from the POP3 server "mail.codetrio.com".</PRE>
</body>
</html>
That was the page source for browse_mailbox.php script.
It's worthy to mention that your parse_message.php script is working properly on that server.
I've tried enough but couldn't get any clue.
Would you please check this.
Thanks