Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
added read me
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhafner committed Jun 21, 2012
1 parent 08d8911 commit 6ae136d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#Contact form for CakePHP 2

## installation
* clone github repository into your CakePHP Application plugin folder
* add following code into your Config/email.php and configure:
```php
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:
```php
$email->config('YOURCONFIG_IN_EMAIL_PHP');
```
* test contact form with following url: ```http://yourapp.com/contact```

0 comments on commit 6ae136d

Please sign in to comment.