Check folder and Send Email


I’m wondering if someone out there can help me with a small project…

What I want to do is check a folder on my website to see if there is anything in it.
If there is, I would like to email the contents of the folder to myself. Then delete the contents of that folder.

It would be nice if this would be done automatically every hour. I’ve seen other posts saying to use CRON jobs for this but I still need some script that will do it.

Any ideas?


This is certainly possible and quite easy to do. However this is not a forum to get things coded for free. If you are interested in learning PHP and attempting to do this yourself we would be more than happy to help.

Sponsor our Newsletter | Privacy Policy | Terms of Service