How To Add Cc And Bcc In Laravel Mail

Hello artisan,

In this example, I will show you how to send mail in Laravel with cc and 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:

Mail::to($request->user())->send(new OrderShipped($order));


But if you want to send mail with cc and bcc, then just chain cc and bcc like below:

    ->send(new OrderShipped($order));


Read also: How to Create Model in Laravel 9


Hope it can help you.


#laravel #laravel-9x