Login   Register  
PHP Classes
elePHPant
Icontem

MIME decoding error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      POP3 e-mail client  >  All threads  >  MIME decoding error  >  (Un) Subscribe thread alerts  
Subject:MIME decoding error
Summary:MIME message decoding error: could not open the message file to
Messages:3
Author:james nahon
Date:2012-07-18 10:41:28
Update:2012-07-18 15:22:09
 

  1. MIME decoding error   Reply   Report abuse  
Picture of james nahon
james nahon
2012-07-18 10:41:28
Hi Manuel,
I am using your excellent class with an Exchnage 2010 server. I have enabled plain text authentication and can login on port 110.

the error i am getting is with the MIME decoder (test_pop3.php works perfectly)

this is what i am getting:

Connecting to ********* ...
S +OK The Microsoft Exchange POP3 service is ready.
Connected to the POP3 server "**********".
C USER ******
S +OK
C PASS *******
S +OK User successfully logged on.
User "alerts" logged in.
C STAT
S +OK 1834 22244828
There are 1834 messages in the mail box with a total of 22244828 bytes.
MIME message decoding error: could not open the message file to decode pop3://0/: fopen(pop3://0/) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: &quot;pop3_stream::stream_open&quot; call failed

C QUIT
S +OK Microsoft Exchange Server 2010 POP3 server signing off.
Closing connection.
Disconnected from the POP3 server "*********".

  2. Re: MIME decoding error   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2012-07-18 11:03:04 - In reply to message 1 from james nahon
I am not sure how you are doing it but message numbers start at 1 not 0.

  3. Re: MIME decoding error   Reply   Report abuse  
Picture of james nahon
james nahon
2012-07-18 15:22:09 - In reply to message 2 from Manuel Lemos
Hi Manuel,
Thank you for your quick response.

You are correct, someone had been playing with the code and had added:


$message_id = $_GET['msg'];
$message=$message_id;

so that specific messages can be accessed.

all still working thanks to your great class!