【发布时间】:2015-12-29 01:10:34
【问题描述】:
我明白了:
Mail::send('emails.orders.attach', null, function($message) use($mail, $subject) {
$message->from(Config::get('mail.from["address"]'), Config::get('mail.from["name"]'))
->to($mail, 'Sender name here')
->subject($subject);
});
laravel 告诉我:
Argument 2 passed to Illuminate\Mail\Mailer::send() must be of the type array, null given
我不需要发送数据,我的电子邮件模板不发送数据,除了一个包含客户所有数据的附件。
【问题讨论】: