Extension:ContactPage

The ContactPage extension implements a contact form for visitors. It creates a special page "Special:Contact", which is similar to "Special:EmailUser", but it has a fixed recipient, and may be used anonymously.

Configuration

 * $wgUserEmailUseReplyTo: determines if visitor's email address will be used as the Reply-To address (failsafe) or the From address (nicer, and default). This is a global option that also controls how MediaWiki behaves for mails between registered users. See Special:MyLanguage/Manual:$wgUserEmailUseReplyTo for more information. Used since 37135 (July 2008). Requires MediaWiki 1.12.
 * $wgContactUser: must be the name of a registered wiki user, who has supplied an email address, has user-to-user email enabled, and has confirmed his/her email address if that is required on this wiki (see Special:MyLanguage/Manual:$wgEmailAuthentication).
 * $wgContactSender: the email address used as the sender of the contact email, if the visitor does not supply an email address, or if $wgUserEmailUseReplyTo is true. Depending on the setup of your web host, this may have to be an existing mail account. Defaults to $wgEmergencyContact.
 * $wgContactSenderName: the name to be used with $wgContactSender. This will be shown in the recipient's email program.
 * $wgContactRequireAll: requires name and email address to be entered on the contact form. This is optional per default. Since 37136 (July 2008).
 * $wgContactIncludeIP: If true, the form will include a checkbox offering to put the IP address of the submitter in the subject line

You can require a CAPTCHA test for the contact page, if you have the ConfirmEdit extension installed. CAPTCHAs are enabled by setting

Hooks
See Extension hook registry for information about hooks added by ContactPage.