customizing send messages
Have a function, do not know how to start, ask you greatly advise!
Do is a reminder function:
For example, now there is a record in the database, it is necessary to send the message at a specified time. What do you do?
1, the way to remind:
• Mail, first consult the mail.
• SMS
2. Reminder Time:
• A point reminder (that is, a certain day of the month of the year)
• Daily reminders (i.e., a certain time of day)
• Weekly reminders (that is, a certain time of week of the week)
------Solution--------------------
1. The timing function reaches the condition
2. Read database records
3.send mail message directly to the time Post/get to SMS interface
What do you not know how to do it? Three one-piece processing. You need a more detailed reminder to use Linux for better processing.
------Solution--------------------
You guessed right.
------Solution--------------------
PHP itself does not have the possibility of timing, unless the script is started in the Task manager, or when someone visits your website to trigger
------Solution--------------------
I do not visit your website to see who you remind
------Solution--------------------
Do you want to make a Web mail subscription? At least there is an email address, otherwise you send the mail to who ah.
------Solution--------------------
Prompt for triggers or to access a database at a time when writing to a program
------Solution--------------------
Timed access to the interface you wrote under Linux
------Solution--------------------
Do the script and run it automatically!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.