Form Mailer

Formmail is a Secure Form Mailer script from Dagon Design with customization for CMSimple. It's a CMSimple plugin without administration part and all configuration is done by editing some variables in php files. Configuration is well documented by Dagon Design so if you know anything about php, ftp and editing files then configuration is very easy. Otherwise don't use it.

Dagon Design script "has a wide range of features including: an easy to use dynamic form generation system (any number of fields, in any order), multiple recipients, multiple file attachments, optional auto reply feature, an image verification system, numerous security features (including protection against email header injection), a message template system, multiple languages, and too many other things to list. This script was designed to be easy to use, while still being extremely flexible. If you just want a simple contact form, you can set one up with just a few clicks. For those of you who need something a bit more advanced, you can completely customize script plugin to fit your needs - whether it is 5 fields or 500. ReCaptcha support has also been added, as well as support for storing the data in a delimited file."

The CMSimple version is extended by  

1. License


#license# #rl_license#
Remove Link License:





2. Installation 

Download and uncompress
Upload the entire formmail directory to  your "plugins" directory. Log directory and the file in directory requires chmod 666. 

3. Configuration 

All configuration must be done in files: config/forms.php and config/fm_config.php.

forms.php contains form definitions and layout definitions.
fm_config.php includes all other configuration.

The  original Dagon Design documentation is on .

Dagon Designs Secure Form Mailer includes many translations. This translations are placed in "lang" directory of formmail in plugin folder.

To activate Form Mailer insert:

{ {{formmail($form_struc_test);}}} or
#CMSimple  $output= preg_replace("/".chr(35)."CMSimple.*".chr(35)."/",  formmail($form_struc_test) , $c[$s]);#

somewhere on your page and make definition of $mine_form_struct in config/forms.php. The installation version includes the test configuration of the form shown in FormMailer Demo.

Formmail replaces CMSimple's built-in mailform. To turn this option off set $form_struct_mailform=''; in config/forms.php.

Optionaly you can call function formmail() with a second parameter to use manual form (layout) definition. Please refer to Dagon Design manual for explanation of how to make a manual form. In CMSimple define your manual form in config/forms.php form and call formmail with to parametes:
formmail($form_struct_test, $manual_form_test);.  

4. Compatibility 

The Form Mailer plugin is tested with CMSimple_XH versions 1.7 and is php 7 ready.  

5. History

version 2.1.2 (not released yet)

optional jQuery multiple choice fields (pc only - see demo) - dependency CMSimple Mobile
Integration with Calendar XH plugin (see demo).

version 2.1.1

added placeholder option on input fields
maintenance check moved after check for max_entries
changed Variable Content integration (call to vcontent is now separated from formmail call, ie. if you use variables in your forms then you need to make two separate calls: { {{vcontent();}}} and { {{formail(...);}}} on the same page).
CMSimple XH 1.7 ready

version 2.1.0

Added possibility to variable sent_message. The text must be defined as a user defined variabel in language file (can be only done in the file editor)). Sent message can now be defined in tree ways:
* as a global DDFM_SENT_MESSAGE defined in a local files in lang folder
* as a user defined text in form definition in forms.php
* or as a user defined language variable in local files in languages folder
Rewrited error msg css
bug fixes

version 2.0.0 August 2016

version 1.8 Marts 2010

version 1.7 December 2009 

version 1.6 November 2009 

Version 1.5 

Version 1.4   

version 1.3 (january 2009) 

version 1.2 

version 1.1 

6. Known problems 

7. Disclaimer

This CMSimple plugin is distributed in the hope that it will be useful - without any warranty; without even the implied warranty of fitnes for a particualr purpose.

© simpleSolutions, November 2008-2018. 

This page is powered by
CMSimple plugin: Tooltip and Modalbox © simpleSolutions