PHP Classes

Problem with page code

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  Problem with page code  >  (Un) Subscribe thread alerts  
Subject:Problem with page code
Summary:Problem with page code
Messages:25
Author:Ggggggg
Date:2006-09-22 09:14:49
Update:2006-10-21 05:17:14
 
  1 - 10   11 - 20   21 - 25  

  21. Re: Problem with page code   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-10-01 07:41:39 - In reply to message 20 from Ggggggg
In the future you will be able to use the PHP unlink() to delete messages as if they were files.

For now, you need to use the DeleteMessage function of the POP3 class. Take a look at the test_pop3.php example.

  22. A different question   Reply   Report abuse  
Picture of Alan Fullmer Alan Fullmer - 2006-10-21 03:34:38 - In reply to message 10 from Manuel Lemos
What about recursive messages?

For example, I notice it saves an 'attached message' as one of the files, but it stops there. Does the class recursively save messages in another attachment.

Sometimes people send a forwarded message that's been forwarded 10 times. I'd like to parse each one of those at the same time.

  23. Re: Problem with page code   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-10-21 04:02:56 - In reply to message 22 from Alan Fullmer
Use the MIME parser class to extract messages attached to other messages:

phpclasses.org/mimeparser

  24. Re: Problem with page code   Reply   Report abuse  
Picture of Alan Fullmer Alan Fullmer - 2006-10-21 04:30:10 - In reply to message 23 from Manuel Lemos
one last question about your class...

i could be blind, but I'm not seeing where it returns the mime type, filename, etc from the attachment set.


  25. Re: Problem with page code   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-10-21 05:17:14 - In reply to message 24 from Alan Fullmer
The POP3 class does not return that information because it is inside the MIME message body.

You need to use the MIME parser class that I mentioned to get the whole MIME message body structure.

 
  1 - 10   11 - 20   21 - 25