Jump to content

Archived

This topic is now archived and is closed to further replies.

playaz

Script to send emails every night using some kind of cron job?

Recommended Posts

Hi Guys,

I have to develop a script that will send an email to particular customers in a database once a certain date has been passed, for instance to send an email every 2wks. I know this would need a script involving a cron job but i am new to this can someone put me in the right direction.

Thanks

Share this post


Link to post
Share on other sites
Well, you could make a page called sendemail.php then on that page have your email headers, what you want it to send etc, then run the sendemail.php with a cron job that has the settings you want (when you want it ran etc).

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.