Extension:FormatEmail

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
FormatEmail

Release status: unknown

Implementation User interface
Description Allows custom headers/footers to be added to user to user emails.
Author(s) Travis Derouin (Tderouintalk)
Last version 1.0 (14 June, 2010)
MediaWiki 1.11+
License GPL 2+
Download
Check usage and version matrix

The FormatEmail extension allows a custom header or footer to be wrapped around user to user e-mails.

Contents

License [edit]

Copyright 2006 Travis Derouin

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Installation [edit]

Download the latest snapshot and extract it to your extensions directory.

In your MediaWiki LocalSettings.php, add the following line some place towards the bottom of the file:

require_once("$IP/extensions/FormatEmail/FormatEmail.php");

Configuration [edit]

Simply change MediaWiki:Email header and MediaWiki:Email footer system messages.

Bugs and enhancements [edit]

Bugs or feature requests can be sent to the author at travis @ wikihow.com.

It would be nice to add the ability to add HTML to perhaps wrap a template around the message, but UserMailer.php would have to be modified first to allow some extra headers to be passed in.