there is a human table with an e_mail line with filled email addresses, and a date_start with a filled date from the beginning of its work.
|
1 answer
We select letters from base, and we send them. In MySQL something like this
SELECT ... FROM table_name WHERE DATEDIFF(date_start, NOW()) >= 5 - why choose letters from the database, you need to select email from the table and send an email to them with a specific contact if, of course, it takes 5 days from the start date - nike
|