Retarder la file d'attente Laravel
$emails = array('emails' => [
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
]
);
foreach ($emails as $email){
$details = ['email' => $email];
$emailJobs = (new TestSendEmail($details))->delay(10);
$this->dispatch($emailJobs);
echo "Queue Email Send Sucessfully";
}
Tyagi420