We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf6a24 commit 8968145Copy full SHA for 8968145
src/Controllers/Templates.php
@@ -195,7 +195,7 @@ public function send_commit($templateId = null): RedirectResponse
195
return redirect()->back()->withInput()->with('error', implode('. ', $this->validator->getErrors()));
196
}
197
198
- $email = Outbox::fromTemplate($this->getTemplate($templateId), $this->request->getPost());
+ $email = $this->getTemplate($templateId)->email($this->request->getPost());
199
200
$email->setFrom($this->request->getPost('fromEmail'), $this->request->getPost('fromName'));
201
$email->setTo($this->request->getPost('recipients'));
0 commit comments