|
Manuel Lemos - 2010-04-04 21:07:55 - In reply to message 9 from Harshal Patel
copy should work. I have no idea why it is returning an empty message.
You can always try reading the file block by block like this:
if(!($f = fopen($message_file, 'r')))
{
$data = '';
while(!feof($f))
$data .= fread($f, 8000);
file_put_contents('some_message_file.eml', $data);
}
Denys De Luca - 2010-04-15 22:04:28 - In reply to message 11 from Manuel Lemos
I just wanted to share the solution that was suggested by Manuel Lemos in a few private email exchanges. That solved the problem. Thank you.
Quote
"It is very simple. In the browse_mailbox.php script change the line:
stream_wrapper_register('pop3', 'pop3_stream');
to
stream_wrapper_register('mlpop3', 'pop3_stream');
Then change the line:
$message_file='pop3://'.$connection_name.'/'.$message;
to
$message_file='mlpop3://'.$connection_name.'/'.$message;
"
Harshal Patel - 2010-04-16 18:11:43 - In reply to message 12 from Denys De Luca
Hi,
yes fine thanks a lot.
its a great solution and works very fine.
just for little more knowledge.
can i know why mlpop3?
and what is the need of it?
is it for some specific server or linux it will be used for?
Thanks again.. this was the very small change but it affects the whole functionality.
thanks a lot for great help by Manuel Lemos ... Great Script. and working very fine.
Thanks.
pranay - 2010-11-23 10:22:37 - In reply to message 9 from Harshal Patel
HI Friendz,
I had the same problem from some time.
Error: "MIME message decoding error: could not open the message file to decode".
After investigating more on this issues, i got the one of the following reason.
* The reason was there is no mail in your mail box.
that means may be your IN-BOX is empty.
Please try to send new mails to you mail box.
And try again.
Hope this will help you.
Manuel Lemos - 2010-11-24 00:25:06 - In reply to message 13 from Harshal Patel
I have not seen your message before. I don't know if the reply is still useful. Anyway, mlpop3 is just to use a different stream handler name, as PHP now seems to register pop3 as built-in stream handler.
|