Jump to content

Script to connect to delete contents of a POP3 mailbox


linuxuser3.14

Recommended Posts

Hi all,

 

I have written a PERL script that I can run through bash, that will take in a mail server address, username and a password, login and then delete all of the mail contained within the user's mailbox.

 

Now I've battled to create a web interface so that my non-linux colleages can use easily wherever they happen to be, but just cannot get to work.

 

So, I decided it would be easier to use PHP to create the script and use $_POST to grab the address, username and password from a form and then process the connection/deletion.

 

Could anyone please provide me with any pointers on where to get started?

 

I'm a bit of an amateur with PHP and can only seem to find functions for IMAP mailbox manipulation.

 

Any help would be greatly appreciated!

 

Cheers guys  :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.