Answer the question
In order to leave comments, you need to log in
How to organize scheduled mailing of emails in Symfony 4?
The task is this - there is a list of organizations in the database, each of them has a mailing option - daily or weekly (we send out new published articles for this interval to subscribers).
The question arose of how to competently implement this in architectural terms. Console Command + Cron?
Show me the right direction.
Answer the question
In order to leave comments, you need to log in
I would do as you wrote Console Command + Cron. But at the same time I would use a mass mailing service.
https://habr.com/post/280634/
You can google the question.
We send out very little and rarely from our server, but ukr.net recently added us to the blacklist. I had to correspond with them, how to resolve this issue.
And if you use a reliable service, then in theory you will be protected from this. At least they will solve this problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question