如何在Laravel中向同一个视图发送两封电子邮件?
$tmp = View::make($template_path, [
'name' => $user->name,
'email' => ($user->email, $email), // TWO EMAIL
'email' => [$user->email, $email], // OTHER WAY
'phone' => $user->phone,
'message' => $request->input("f_message"),
'list_name' => $request->input("f_list_name"),
'url_reclaim' => $url_reclaim
])->render();
这是对的吗?最好的问候。
答案 0 :(得分:0)
这就是答案:
'emails' => [$user->email, $email]