I tested the class decoding multipart messages with a SMTP client for PHP, and works fine, i sended several emails using Outlook, but when i use a basic message of hotmail for example who isn't multipart and if i set
$mime->mbox = 0;// or 1 i get the same,
At the end of parsing a single email, this is saved at disk with only 13 bytes:
What i'am doing wrong?
i would like to open the file "1" created, but is doesn't have the body.
Manuel Lemos - 2007-10-10 18:00:30 - In reply to message 4 from Ramiro Banda
I don't know who inserted those marks </HEADER> and <MESSAGE> but they should not be there. There should be an empty line between headers and the body message.
If those marks are inserted by the POP3 class you are using, you need to remove them or use this other POP3 class that even comes with an example to parse retrieved messages with the MIME parser class: