In this example, I will show you how to send mail in Laravel with
bcc. You know that we are free to set "to", "cc", and "bcc" recipients by chaining their respective methods together. In this example, you will see the source code of sending mail with cc and bcc.
Normally we can send mail in Laravel in the following way:
But if you want to send mail with cc and bcc, then just chain cc and bcc like below:
Mail::to($request->user()) ->cc($moreUsers) ->bcc($evenMoreUsers) ->send(new OrderShipped($order));
Read also: How to Create Model in Laravel 9
Hope it can help you.