Buy now Customer Login

Online Manual / Configuration Files

A configuration file contains settings for Ollance Mail Pro php to use when it's processing form data. It is required that you have a configuration file setup and uploaded to the home directory for the configuration files before you can use your form. See Setting home directory for templates and configuration files for more information on where your configuration files should be stored. Below is an example of a configuration file with simple settings. Notice below how it's "VARIABLE: VALUE". You must have a colon (:) and a space between the VARIABLE and the VALUE. You can add comments to the configuration file by placing a number sign (#) in the beginning of the line.

# This is an example of a configuration file that can be used with a single page form.
# These are the required fields.

required page="1" value="First Name, Last Name, Middle Name, E-mail Address, Comments"

# Specify whether or not I want to use Sendmail.
sendMail value="0"

# This specifies the mail server your web server is enabled to use.
mailServer value="mail.example.com"

# These are my template files.
templatePage page="1" value="/path/to/form.html"

# First send the form results to myself.
sendMsg page="1" to="Ollance.com <info@ollance.com>" from="ollance <info@ollance.com>" replyTo="ollance <info@ollance.com>" subject="Submission to your form from [output name='First Name'] [output name='Last Name']" template="/home/ollance/public_html/mailpro/templates/recipient.html" contentType="text/html"

# Finally, we can send an auto response to the user.
sendMsg page="1" to="[output name='E-mail Address']" from="ollance <info@ollance.com>" replyTo="ollance <info@ollance.com>" subject="Thank you for submitting to our form [output name='First Name'] [output name='Last Name']!" template="/home/ollance/public_html/mailpro/templates/mailpro-php-response.html" contentType="text/html"

The sections below explain what variables or commands are available to use in the configuration file and how to set them. It also explains what they do.

Sections