
 william drescher - 2007-06-06 10:44:38 - 
In reply to message 7 from Manuel LemosThe parse_message example uses the POP3 stream handler and is not clear.
Much simpler is to use the POP3 example to open the mailbox and then use OpenMessage to open the message (use -1 for $lines, the default) and then use GetMessage to actually get the message and then use decode to parse the message.  If you are testing you can use any number for $count that is larger than you message  - say 20,000 - if you have enough memory for PHP.