
emas - 2008-07-27 03:41:46 -
In reply to message 2 from Manuel Lemos
Manuel, thank you for the quick response.
Basically, I just need to be able to get the from address, to address, subject, and contents of the email when opening the sample browse_mailbox.php in a tabular form. But after this line $success=$mime->Decode($parameters, $decoded); there a a bunch of dump data in it. I was planning to go through the $decoded var to get all those, but after this code
I tried it by having this code.
$success=$mime->Decode($parameters, $decoded);
die('stop here');
There are a lot of dump data before the 'stop here' test when running it again.
Below is what I've got running the browse_mailbox.php.
...
There are 10 messages in the mail box with a total of 145819 bytes.
>>> after the line $success=$mime->Decode($parameters, $decoded); the dump data below will show.
C RETR 1
S +OK message follows
S Received: from localhost (localhost.localdomain [127.0.0.1])
... >>> more data in here
src="http://www.uptilt.com/images/mlopen_post.html?rtr=on&siteid=4358&mid=726291&mlid=61545&uid=217ab7dec8"> </BLOCKQUOTE><BR>
S --0-2009691272-1201912213=:63041--
S
S ------=_NextPart_000_0026_01C865B4.5EC13C60--
S
S .
stop here >>> this is the die('stop here');
I dont know if I am having a right questions on this. Sorry again for a newbie topic.
Thanks