L
L
LobsterJoe2018-11-14 15:33:30
symfony
LobsterJoe, 2018-11-14 15:33:30

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

2 answer(s)
V
Vadim, 2018-11-14
@LobsterJoe

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.

D
Dimonchik, 2018-11-14
@dimonchik2013

usually queues, because there are sending limits from one IP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question