PHP Classes

Retrive Messages withou deleting them

Recommend this page to a friend!

      PHP Email To DB  >  All threads  >  Retrive Messages withou deleting them  >  (Un) Subscribe thread alerts  
Subject:Retrive Messages withou deleting them
Summary:Retrive Messages withou deleting them does not work
Messages:1
Author:Premasiri Nelliwinne
Date:2015-05-20 11:57:58
 

  1. Retrive Messages withou deleting them   Reply   Report abuse  
Picture of Premasiri Nelliwinne Premasiri Nelliwinne - 2015-05-20 11:57:58
Hi all,

I need to get the data to the database without deleting them from server.

I tried commenting following part.
////////////////////////////////////////
function email_delete(){

//imap_delete($this->link, $this->msgid);

}

function email_delete(){

//imap_delete($this->link, $this->msgid);

}

/**
* Delete marked messages
*/
function email_expunge(){

//imap_expunge($this->link);

}

//////////////////////////////////////

but then it takes only one email to db.

Please help me to do this