Results 1 to 2 of 2
Aug 30, 2011, 12:28 #1
- Join Date
- Sep 2005
- 0 Post(s)
- 0 Thread(s)
Need script to get file and send to email address (run from cron)
I need a script that will look for a file and then send it to a specified email address. It is being run nightly and called by a cron job. Anyone have a link to a similar script. All of the scripts I am finding are like response emails sent after clicking a submit button on a form.
Also, I want my script to look for a file that is named for yesterdays date (i.e. 08-29-11.txt) but I should be able to figure out that myself - I just need a good starting point!
Aug 30, 2011, 12:50 #2
You could take one of those form-email scripts, and just copy the part where the mail with the attachment is created and sent.Guido - Community Team Leader
The Votes Are In: The Winners of the 2013 Community Awards are...
Blog - Free Flash Slideshow Widget