Petar - 2007-09-26 05:48:39
Hi
This is a short example:
$pop3->Open();
$pop3->Login($user,$password,$apop);
$pop3->Statistics($messages,$size);
if($messages>0) { for each message -->
$pop3->OpenMessage(MsgNo);
do {$error=$pop3->GetMessage(512, $msg, $end_of_message);}
while(!$end_of_message);
$parameters=array('Data'=>$msg);
$success=$mime->Decode($parameters, $decoded);
}
It works GREAT for every plain tex message in mailbox.
There is a problem with MIME-Version: 1.0 Content-Type: multipart/mixed and multipart/alternative messages.
MIME message decoding error: reached a premature end of data
Error position: -1
Any suggestions?
Thanks