Custom email sending has a function. I don't know how to do it. please kindly advise! This is a reminder function: for example, if there is a record in the database, the email must be sent at a specified time. How? 1. reminder method: & #183; email. please contact us first. & #183; SMS 2. reminder Time: & #183; point-to-point reminder (that is, a minute or second at a time of a month or a day of a year) & #183; daily reminder (that is, a certain minute or second of every day) & #183; weekly reminder (that is, a custom email sent in the week of every day)
I have a function that I don't know how to start with. please give me some advice!
The following is a reminder function:
For example, a record in the database needs to be sent at a specified time. How?
1. reminder method:
· Email. please contact us first.
· SMS
2. reminder Time:
· Point-to-point reminder (that is, a minute or a second in a month or a day)
· Daily reminder (that is, a minute or second at a specific time every day)
· Weekly reminder (that is, a minute or a second of the week)
------ Solution --------------------
1. the timing function meets the conditions
2. read database records
3. send mail text messages directly to the time post/get to the SMS interface
Do you know how to get started? Process one by one. You need to use linux for detailed reminder functions.
------ Solution --------------------
You guessed it.
------ Solution --------------------
PHP itself does not have the possibility of regular execution, unless this script is regularly started in the task manager, or triggered when someone visits your website
------ Solution --------------------
I am not visiting your website. check who you remind me.
------ Solution --------------------
Do you want to subscribe to emails on the website? At least there should be an email address. Who else will you send the email.
------ Solution --------------------
Prompt the trigger or write in the program to access the database once at a certain time
------ Solution --------------------
Access the interface you write on a regular basis in linux
------ Solution --------------------
Run the script automatically!