【发布时间】:2016-10-19 13:33:48
【问题描述】:
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');
【问题讨论】:
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');
【问题讨论】:
您需要为密件抄送字段添加额外的标题。
http://php.net/manual/en/function.mail.php
见this related Stackoverflow question。
编辑:看起来您正在使用 Laravel 框架。要添加密件抄送,您可以调用:
$m->bcc('address@domain.com', 'Name');
【讨论】: