Sendmail Script (php) To Send Csv File To Email Address

Hi,

My client has a CSV file form.csv residing in their web server and they are downloading this file daily.

Their server supports CRON jobs and they would like a script (php?) which they can fire via URL so that it can be sent to their email.

They will insert this into their CRON settings to fire daily so they no longer need to download.

In your script, please allow for “subject” changing and also “email address” changing, allow also for cc.

This script, when loaded via URL e.g. domainname.com/sendreport.php will forward form.csv via email to client.

Pls revert with timeline.

Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *