PHP Classes

delete_message function

Recommend this page to a friend!

      IMAP  >  All threads  >  delete_message function  >  (Un) Subscribe thread alerts  
Subject:delete_message function
Summary:delete_message not deleting
Messages:4
Author:Eric Gunn
Date:2009-11-09 23:45:35
Update:2012-03-30 07:52:54
 

  1. delete_message function   Reply   Report abuse  
Picture of Eric Gunn Eric Gunn - 2009-11-09 23:45:35
delete_message function flags message to be deleted but when I call close_mailbox message is not deleted from server.

  2. Re: delete_message function   Reply   Report abuse  
Picture of Anders Jenbo Anders Jenbo - 2009-12-22 13:26:31 - In reply to message 1 from Eric Gunn
you need to call purge before you close.

  3. Re: delete_message function   Reply   Report abuse  
Picture of Joan Romero Joan Romero - 2010-04-16 07:23:15 - In reply to message 2 from Anders Jenbo
how do i have to do for delete the messages ???
i don't find a function call purge !!!
i need delete the messages

  4. Re: delete_message function   Reply   Report abuse  
Picture of Anders Jenbo Anders Jenbo - 2012-03-30 07:52:54 - In reply to message 3 from Joan Romero
It's called expunge_mailbox()

You might want to take a look at my rewrite as it is better documented.
github.com/AJenbo/PHP-imap