CodeMama Posted January 8, 2009 Share Posted January 8, 2009 I have the script that generates the report, but now instead of the admins having to click on the "generate report" link (so much work you know ) they want the report to just automatically email to them at the end of the day. How do I achive this? ??? Thanks! Link to comment https://forums.phpfreaks.com/topic/140058-sending-xls-report-by-email-daily-how-do-i-achive-this/ Share on other sites More sharing options...
chronister Posted January 8, 2009 Share Posted January 8, 2009 Set your script to run as a cron job, and attach the file in an email. I did this same type of thing using cron and a mail class called phpmailer. It is very easy to use. Check with your host on setting up a cron job. Nate Link to comment https://forums.phpfreaks.com/topic/140058-sending-xls-report-by-email-daily-how-do-i-achive-this/#findComment-732788 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.