Wednesday, June 25, 2008

Media Wiki email problems

I have moved my media wiki from one server to another and suddenly the email feature stopped working. After a lot of searching I found out that email for Media Wiki needs php-pear-Mail which can be easily installed by

# yum install php-pear-Mail

after that add the following to LocalSettings.php


# Sending e-mails (requires php-pear-Mail)
$wgSMTP = array
'host' => "localhost",
'IDhost' => "localhost",
'port' => 25,
);
Source

No comments: