This project uses SendGrid to send data from contact forms.
You can install post-sendgrid using Composer.
composer create-project --prefer-dist pittica/post-sendgrid
Create and edit a config/app.php file.
<?php
return [
'fields' => [
'whitelisted' => [
'message'
],
'email' => 'email',
'subject' => 'subject',
'name' => 'name',
'labels' => [
'message' => 'Message',
'email' => 'E-Mail',
'subject' => 'Subject'
]
],
'sender' => [
'address' => 'YOUR@EMAIL.ADDRESS',
'name' => 'YOUR NAME'
],
'api' => [
'key' => 'SendGrid API KEY'
],
'recaptcha' => [
'key' => 'RECAPTCHA KEY',
'field' => 'g-recaptcha'
]
];
(c) 2020-2021, Pittica S.r.l.s..