Extension:FormMailer

The FormMailer extension allows forms in the wiki to be sent to a specified list of recipients. This is useful for people using their MediaWiki to maintain website content who wish to have enquiry forms in the site. This extension only handles the sending of the data in the form, but does not offer any means to create forms, for that you can use Extension:Simple Forms.

Installation
The extension is a single script which you can obtain from FormMailer.php and save into your extensions directory and include in your LocalSettings.php file as in the following example,

Usage
Any standard form can be mailed with this extension, all that needs to be done is to ensure that the form contains a value called "formmailer" in it. As long as a value of that name is posted, the formmailer will know that the data from the form is to be sent. The name of this special variable can be set to something else in the $wgFormMailerVarName global configuration variable.

Configuration
Configuration of this extension is done via two global variables which can be set in your LocalSettings file after the include of the FormMailer.php script.