Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hfalucas's avatar

Sending Emails with multiple bcc

When sending an email with an array of bcc’s, how can I access the current bcc recipient email in the view?

$emails = ['email1@example.com', 'email2@example.com', 'email3@example.com'];


 Mail::bcc($emails)->send(new SomeClass($var1, $var2));

Then in the view how can I access the current bcc email?

// in email view

<a href="some_url.com?email={{ the_current_bcc_email }}">Text</a>

Is this event possible? If so how?

0 likes
2 replies
tykus's avatar

There will be only one email created and sent, so there is not current_bcc_recipient - you are not iterating over the $emails array. If you need to create a unique link for each recipient, then send separate emails.

Please or to participate in this conversation.