adspace
Answer Posted / Aishwarya Kumar
To send mails using queues in Laravel 5, you need to dispatch a job. Here's an example of how to do it:n```phpnuse AppJobsSendEmail; n$job = new SendEmail(); ndispatch($job);n``` Make sure that you have defined the SendEmail class in your app/Jobs directory and configured a queue driver in config/queue.php.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers