Mail::send(['html' => 'emailtemplate'], $dataCustomer, function ($m) use ($input)
{
$m->from('quotes@email.net', 'Mr. Foot');
$m->to($_POST['email'])->subject('Mr Foot Thanks You');
Asked
Active
Viewed 124 times
0

cf-
- 8,598
- 9
- 36
- 58

Ed Meredith
- 5
- 2
1 Answers
0
You need to add additional headers for the Bcc field.
http://php.net/manual/en/function.mail.php
See this related Stackoverflow question.
Edit: Looks like you are using the Laravel framework. To add a bcc, you can call:
$m->bcc('address@domain.com', 'Name');
Here's the documentation.

Community
- 1
- 1

Hamilton Lucas
- 419
- 2
- 5
-
1You should post the actual code necessary to make it work instead of a bunch of links. – Nasreddine Jun 17 '16 at 17:30
-
I know that I can add them in the headers but on this page there are no headers to be seen. – Ed Meredith Jun 17 '16 at 18:02
-
Hi Ed - sorry I wasn't super clear. See my edit. – Hamilton Lucas Jun 17 '16 at 18:07
-
ok added $m->bcc('address@domain.com', 'Name'); below the $m>to didnt send to the addess I added – Ed Meredith Jun 17 '16 at 18:24
-
That's too bad. It looks like this person had good luck using that method. http://stackoverflow.com/questions/26774204/laravel-mail-bcc – Hamilton Lucas Jun 17 '16 at 18:34
-
got it to work I had a space at the end of the $m->bcc('address@domain.com', 'Name') – Ed Meredith Jun 17 '16 at 18:44