简体   繁体   中英

Using Laravel's Queue for sending messages

I want to send messages by email or SMS or push notification and I want to use Laravel's queue.

Suppose I have more than 10000 email that I want to send via queue. This line starts the queue push:

Queue::push('SendEmail', array('email' =>'me@email.com'));

Now I do not know what this queue exactly does with ironMQ,means when my messages start to send after pushing and what's benefit of ironMQ? Is there any help or ideas?

Thanks in advance.

外部服务只是管理器,如果要延迟作业,请使用Queue :: later()。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM