FormEMailer
 

(c) [werk01]

Overview

This Extension installs a new object in a new tab of the object palette. It contains (and hides) PHP code in order to accept form data, convert it and send it as an email.

It provides consistency checks, encodes foreign languages, has security and spam checks and can even attach one or more files you can upload with your form.

Step-by-Step
"Placeholders"

Demo

Support

Status

 

Starting with V2, FormEMailer can be ordered for 18 Euro online.

History

V4.0:

  • can use HTML2EMail to send HTML emails

V3.0:

  • exclude certain fields
  • smart utf8-decoding
  • improved field parser

V2.1:

  • fixed a bug for non-existing files in IE

V2:

  • the form can be set up to contain files too, which will be attached to the email

V1.1:

  • referer check fixed
  • user interface fixed

V1:

  • first release

Detail

'To', 'From' and 'Subject' are the basic fields for an email.

'Submitbutton' is the submit button's name of the originating form page: only this button can initiate the form processing.

For consistency checks, you can enter a comma-separated list of field names to check. If any field is left blank, only the 'Error Message' is displayed.

To suppress fields from being send, you can enter a comma separated list of the fields names after 'Field(s) to exclude'.

The 'Success Message' should contain a success message.

For security reasons, the script can check where the form originates from. Enter the server the form page resides on in the 'HTTP Referer' field and any other server is ignored - this field is optional.

Note:
Most fields (except 'Submitbutton' and 'Field(s) to check') supports placeholders instead of native values from the inspector. These placeholders are written in curly brackets and replaced by their corresponding form field content.

In order to list the field name of each field entry, select the first checkbox.

For processing files, you can activate the bottom section. The maximum size of each file (in KB) and the accepted file types (comma separated list of types) can optionally be specified.

Requirements

The form must send its data with the POST method, multipart/form-data is recommended as the transfer type.

Take care that the object performs on pages of type PHP only!

Check for a proper PHP setup on your server to send emails with the mail-command and if requested to accept file uploads!

Check your Apache/PHP setup for the HTTP Referer check and for the maximum file upload size - this object can by no means extend the upload size beyond the server limits!