

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


D F D   M A I L E R   1 . 1 0    D O C U M E N T A T I O N


Product Page:
http://www.dragonfrugal.com/open.source/software/dfdmailer/


Version 1.10+ Upgrading Check:
http://www.dragonfrugal.com/open.source/software/dfdmailer/check.version.php?dfd_mailer_version=1.10


Software Product Support:
https://www.dragonfrugal.com/php-bin/product-feedback/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



1) A "php-bin" needs to be created in the root web directory of your domain's web space, and the form mailer's application directory "form.mail" copied to it





2) Hard-Code your email address in the "mailer.config.php" file:

$mailto_admin = 'you@yourdomain.com';





3) In the head of the html document structure on your contact page, there needs to be a link to the javascript file running the form mailer's ajax sever connection:

<script type="text/javascript" src="/php-bin/form.mail/ajax.request.js"></script>





4) The form's opening tag needs to be modified to use the attribute values shown below, --and-- 2 additional div objects placed above it, with the second one not closing until ---immediately after the closing </form> tag--- way at the bottom of the contact form:

<div id="form_status"></div>

<div id="form_div_data">        

<form name="form_data_mail" action="" method="post">





5) Any email field's name and id attributes should be changed to "_Email" so the form mailer will automatically validate the email address to assure it appears correct (furthermore, additional emails can be validated by using the format "ANY-UNIQUE-NAME-HERE_Email" for other name and id attributes in other form fields):

<input name="_Email" type="text" id="_Email" />





6) The CAPTCHA security code field has to be added, and the field name/id attribute must always be the value "security_code"

<p>Please enter the security code: 
<input name="security_code" type="text" id="security_code" value="" size="8" /> &nbsp;&nbsp;<img src="/php-bin/form.mail/captcha.php" alt="" border="0" align="top" vspace="0" style="border: 1px solid #808080;">
</p>





7) The submit button has to be reformatted to run the ajax connection:

<input type="button" value="Submit Form" onclick="send_data();" />





8) Hidden form fields must be added to the form's html to submit data, ---and enable required fields--- seperate each required fiel's name/id with a "|" symbol

<input type="hidden" name="submitted" value="1" />
<input type="hidden" name="required" value="First Name|Last Name|_Email|security_code" />





