Any ideas?
Here are the mail messsages that I'm queueing:
Mail::queue('emails.thanks', $data, function($message) use ($info, $name) {
$message->to($email, $name)
->from($from_address, $from_name)
->replyto($from_address, $from_name)
->subject('Your request');
});
Mail::queue('emails.confirm', $data, function($message) use ($info) {
$message->to('[email protected]', 'Me')
->from($from_address, $from_name)
->replyto($from_address, $from_name)
->subject('Request submitted');
});
Every mail is sent to the queue, the "Messages all time" increases by 2...and I'm sending to 2 emails. But they're never received.
So, is there configuration that I need to do so that Iron releases the messages?
The measure of correct configuration is not "Messages all time", its the number of message that get deducted from queue.
That said, you have to configure your application to receive the queue and process by creating a route :
Route::post('queue/receive', function()
{
return Queue::marshal();
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community