You can save your own template in path/to/cockpit/config/forms/emails/form_name.php
. “form_name” is the name of your form.
form_name.php
:
<!DOCTYPE HTML>
<html><head><meta charset="utf-8" /></head><body>
<p>Hello</p>
@foreach ($data as $field => $val)
<p><strong>{{ $field }}:</strong><br />
{{ $val }}</p>
@endforeach
</body></html>
1 Like