[Mediawiki-l] External mailserver setting

Rob Church robchur at gmail.com
Mon May 7 16:32:30 UTC 2007


On 07/05/07, Webb, Alister <Alister.Webb at team.telstra.com> wrote:
> Hi, I have set up an instance of MediaWiki on our internal corporate
> network. To get email reminders happening, I need to configure MediaWiki
> to point to our corporate mail server. Can anyone tell me where that
> pointer - the name of the server, e.g. mail.company.com - is set? I have
> looked in DefaultSettings.php (in the 'Includes' folder) and
> LocalSettings.php, but can't work it out.

You'll need to configure MediaWiki to use SMTP via the Pear::Mail
extension. Install this (see PHP documentation on how to install from
Pear, it's not hard; often a one-liner in a command prompt) and then
copy the $wgSMTP array over from includes/DefaultSettings.php to
LocalSettings.php, and alter according to the needs of your
configuration.


Rob Church



More information about the MediaWiki-l mailing list