Answer the question
In order to leave comments, you need to log in
How to send an email on a specific date?
Good day!
Please help.
There is a database table in which records are entered:
-
name
- date of notification
- email for notification
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Add another processed boolean field,
SELECT * FROM queue WHERE date < now() AND processed = false;
Before sending the letter, change processed to true. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question