如何在我的代码中添加BCC [重复]

This question already has an answer here:

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');
</div>

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.