better config setup

This commit is contained in:
2025-11-11 02:22:01 -08:00
parent 0d46eb4cc5
commit 31650e55c2
5 changed files with 54 additions and 25 deletions

View File

@@ -8,16 +8,15 @@ return [
'email' => true,
'captcha' => true,
],
'sendConfirmationEmail' => true,
'sendBackendEmail' => true,
'clientIpHeader' => '',
'email' => [
'mailerClass' => 'CakeContactUs.ContactUsFormSubmissions',
'confirmation' => [
'enabled' => true,
],
'backend' => [
'confirmation' => true, // true or false
'backend' => [ // array with enabled and the to/cc/bcc/ fields as strings or arrays
'enabled' => true,
'to' => 'bshipley@hipowered.dev',
'cc' => '', // email string or array of emails
'bcc' => '', // email string or array of emails
],
],
'addIdToRedirect' => true,