D
D
Denis Rybin2014-11-14 15:25:29
Laravel
Denis Rybin, 2014-11-14 15:25:29

How to subscribe to laravel?

How can I make sure that when a new article appears on the site, users receive an email with a notification about this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gladkovskiy, 2014-11-14
@RybinDen

1. Record the user's desire to receive a notification.
2. Create an event when a new article is created.
3. Make a listner that will "listen" to the article creation event. When it is processed, a mailing list will be created for users who have agreed to receive the mailing list.
4. ...
5. PROFIT!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question