4 ms·
I think, you overthink it. Make 3 scripts 1. get-content 2. get-emails 3. send-content-to-emails call this in a cronjob. Have logs. The second day you wil
by rmetzler 11y ago
I think, you overthink it.
Make 3 scripts
1. get-content
2. get-emails
3. send-content-to-emails
call this in a cronjob. Have logs.
The second day you will realize, you'll send the same content to the same people, so you'll need to add a filter. A simple file or database-based filter will be sufficient. You should be able to generate this filter from the logs.
Add this steps before sending emails:
* filter-emails
* filter-content
* generate-email-to-content-relation