Jump to content

trying to write an application that sends out reminder emails


maddie2120

Recommended Posts

Hi could someone point me in the right direction, I'm trying to write an application that sends out reminder emails to clients who need to renew their qualifications online.  Does anyone know of an automated script or one that could be adapted and used.

 

Any help would be greatly appreciated.

 

Maddie

Hi,

Store reminder date into database. on page load always check reminder date. if today date is equal to reminder date, shoot email.

Let me know if there is still any issue.

Thanks

 

As delickate said, a db field is the way to go.

 

His method for sending would work also, but what if no one opens the page that day? The email would never be triggered. IMO, the better way would be a cron job (cron jobs on apache, scheduled tasks on IIS- if my memory serves.)

 

Just my 2 cents  ;D

Hi thanks for the help, yes I think the cron job idea is the way to go.  Does anyone know of any scripts already out there that can be tweaked for individual use?

 

A cron job runs a script. You would need to write the script to send the emails, and set up a cron job to run it. Most of the time this is done in an admin dashboard, but can be done in command line also.

Archived

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

×
×
  • Create New...

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.