CakeContactUs/config/app.example.php

31 lines
1012 B
PHP
Raw Normal View History

2025-01-10 07:47:18 +00:00
<?php
// The following configs can be globally configured, copy the array content over to your ROOT/config
return [
'ContactUs' => [
'fields' => [
'subject' => true,
'email' => true,
'captcha' => true,
],
2025-11-11 10:22:01 +00:00
'clientIpHeader' => '',
2025-01-10 07:47:18 +00:00
'email' => [
'mailerClass' => 'CakeContactUs.ContactUsFormSubmissions',
2025-11-11 10:22:01 +00:00
'confirmation' => true, // true or false
'backend' => [ // array with enabled and the to/cc/bcc/ fields as strings or arrays
2025-01-10 07:47:18 +00:00
'enabled' => true,
'to' => 'bshipley@hipowered.dev',
2025-11-11 10:22:01 +00:00
'cc' => '', // email string or array of emails
'bcc' => '', // email string or array of emails
2025-01-10 07:47:18 +00:00
],
],
'addIdToRedirect' => true,
'redirectUrl' => [
'prefix' => 'Admin',
'plugin' => 'CakeContactUs',
'controller' => 'ContactUsFormSubmissions',
'action' => 'view',
],
],
];