I have a sendmail script that loops through an array of email addresses. the problem is, the list can sometimes be fairly long, and the page does not finish loading until the loop has completed. Currently, I have the majority of the page loading, including text that says "messages sending, please wait.", with a "completed" message after the loop. Though that gives an appearance of working (and lets the patient user know what is going on), if the user leaves the page, or the page times out before the loop has finished, not all the emails will be sent. Is there a way to trigger a script to run on the server (in the background)? I had the thought to save the notice to the DB, and then have a cron check every few minutes to send it, but that could be too much load on the servers. Any other alternatives? Thanks! ~J Ps. No, this is not a spam application - it is a notice/announcement form for directors/administrators of an organization