954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

sending email automaticly

my program allows users to leave reminders to themselves.
tblReminder looks like this-
title
content
date

now the idea behind it is that once the date that the user chose comes, the user will recieve an email to his email account with the content of the reminder.

I can write a function that sends emails, but what I don't know is how to make the email to be sent (or in other words- to run the function) at a specific day without any action from the user.

I'm used to using links and buttons so I can't understand how to make something work without clicking anything or even opening the page!! help!

54uydf
Junior Poster
135 posts since Sep 2009
Reputation Points: 12
Solved Threads: 1
 

my program allows users to leave reminders to themselves. tblReminder looks like this- title content date

now the idea behind it is that once the date that the user chose comes, the user will recieve an email to his email account with the content of the reminder.

I can write a function that sends emails, but what I don't know is how to make the email to be sent (or in other words- to run the function) at a specific day without any action from the user.

I'm used to using links and buttons so I can't understand how to make something work without clicking anything or even opening the page!! help!

For this you have to use CRONJOB, Googling with keyword 'CRONJOB PHP'

abhi10kumar
Junior Poster
126 posts since Feb 2011
Reputation Points: 15
Solved Threads: 1
 
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You