Laravel/SendinBlue 缺少参数
我一直在与: https://github.com/agence-webup/laravel-sendinblue
设置我的所有内容需要,但我仍然遇到一个错误:
{"code":"missing_parameter","message":"'to' is required"}
我尝试插入 To 方法,但也不起作用。我被困住了。
我的控制器:
$log = new LogController();
Mail::to($parameters['mail'])->send(new Verification($parameters));
我的可邮寄版本:
return $this
->view([])
->subject(SendinBlueTransport::USE_TEMPLATE_SUBJECT)
->sendinblue(
[
'template_id' => 3,
'tags' => ['information'],
'params' => [
'FIRSTNAME' => $this->user,
'LASTNAME' => $this->verificationCode,
],
]
);
I've been working with:
https://github.com/agence-webup/laravel-sendinblue
Setup everything I need but still I got one error:
{"code":"missing_parameter","message":"'to' is required"}
I tried to insert the To method, but also that didn't work. I'm stuck.
My controller:
$log = new LogController();
Mail::to($parameters['mail'])->send(new Verification($parameters));
My mailable build:
return $this
->view([])
->subject(SendinBlueTransport::USE_TEMPLATE_SUBJECT)
->sendinblue(
[
'template_id' => 3,
'tags' => ['information'],
'params' => [
'FIRSTNAME' => $this->user,
'LASTNAME' => $this->verificationCode,
],
]
);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论