E
E
evgenin2020-05-29 23:37:49
Laravel
evgenin, 2020-05-29 23:37:49

How to do mailing in Laravel?

For example, I scheduled a mailing list, added it to the queue, and wanted to make changes to the mailing list.

By default, laravel queue does not contain data identifying newletter_id.
5ed17212dffe9407896883.png

Do I need to create an additional table with queue_id and newletter_id numbers or is there some other solution without parsing the payload json field?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2020-05-30
@evgenin

1. It is correct to do the mailing through some special mailing service - Sparkpost, Mailgun etc., otherwise there is a great chance to get banned from mailers.
2. A queue for performing specific tasks in the "created and forgotten" mode - send a letter / batch of letters / request to the service. No "make changes". Store your mailings and manage them in the database, run them with the task scheduler.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question