#Contact form for CakePHP 2
##features
- multi language
- no tables needed
- custom routes
- validation
- clone github repository into your CakePHP Application plugin folder
- add following code into your Config/email.php and configure:
public $contactform = array(
'transport' => 'Mail',
'from' => array('[email protected]' => 'example.com | contact form'),
'bcc' => '[email protected]',
'charset' => 'utf-8',
'headerCharset' => 'utf-8',
);
- if you'd like to use an existing email configuration, please change Controller/ContactformController.php:
$email->config('YOURCONFIG_IN_EMAIL_PHP');
- test contact form with following url: http://yourapp.com/contact