PHP Classes

Delete Mail Function

Recommend this page to a friend!

      pop3.class.inc  >  All threads  >  Delete Mail Function  >  (Un) Subscribe thread alerts  
Subject:Delete Mail Function
Summary:Help Required
Messages:2
Author:Steve Woodward
Date:2010-06-01 11:49:15
Update:2010-06-01 14:02:17
 

  1. Delete Mail Function   Reply   Report abuse  
Picture of Steve Woodward Steve Woodward - 2010-06-01 11:49:15
Hi All

Can anyone provide a little help , I have the script working and can connect to a pop account and see the number os messages in the mailbox.

Can i get these displayed so I can either delete a section of them or mark them with a check box and seletively delete which ones I want ?

A little new to PHP and I have a feeling I have dived into the deep end ...lol

Any help appreciated

  2. Re: Delete Mail Function   Reply   Report abuse  
Picture of Steffen Stollfuß Steffen Stollfuß - 2010-06-01 14:02:17 - In reply to message 1 from Steve Woodward
Hi,

you can mark messages as delete how many you want.

ex.:

// Mark to delete
$pop3->delete(msgNumber);
$pop3->delete(otherMsgNumber);
...
...
// Delete the marked messages
$pop3->quit();


regards
j0inty