# Auto Email to mass list with latest file (PHP)

**URL:** <https://forum.kirupa.com/t/auto-email-to-mass-list-with-latest-file-php/255570>\
**Category:** programming\
**Created:** [March 24, 2008, 9:18pm UTC](https://forum.kirupa.com/t/auto-email-to-mass-list-with-latest-file-php/255570 "2008-03-24T21:18:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j5uh](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@j5uh](https://forum.kirupa.com/u/j5uh)\
**Post date:** [March 24, 2008, 9:18pm UTC](https://forum.kirupa.com/t/auto-email-to-mass-list-with-latest-file-php/255570/1 "2008-03-24T21:18:56Z")

</div>

As the title says,  
I’m looking for a way to automatically have the process run itself. Must be written in PHP

File will be loaded to the server \> Script automates mass emails to send the file to everyone who’s on the list whenever there is a new file that is on the server (or a given time during the day)

How would I go about doing this? Should I just look for a PHP script that sends out mass email with an attachment that’s triggered by a cron job?
