Location: PHPKode > scripts > CosmicFormMail > cosmicformmail/config.php
<!--
##-----------------------------------------------------------------##
##                                                                 ##
##                                                                 ##
## © Copyright Stephen Heylings 2003. All rights reserved. No part ##
## of this or any of the attached documents shall be               ##
## reproduced/stored in any way whatsoever without written         ##
## permission from the Copyright holder.                           ##
##   The Copyright holder holds no responsibility for errors or    ##
## omissions. No liability is assumed in any way for damages       ##
## resulting from the use of this document/program.                ##
##                                                                 ##
## Have a nice day.                                                ##
##                                                                 ##
##                                                                 ##
##-----------------------------------------------------------------##
-->

<?

## fields contains all the variables from the form to be sent in the email - CaSe SeNsItIvE
$fields = array('FirstName','LastName','Email','Address1','Address2','Zip','Country','Phone','Message');

## required contains all the variables that MUST be filled in - CaSe SeNsItIvE
$required = array('FirstName','LastName','Email');

## emailfield contains the name of the variable to be validated as an email address
$emailfield = "Email";

## subject of the email to be sent
$subject = 'Query';

## email address to send responses to
$toemail = 'hide@address.com';

## message displayed when email has been sucessfully sent
$sentmessage = "Your message has been sent."
?>
Return current item: CosmicFormMail