[Mediawiki-l] Email setup

Simon Renshaw simon at castortech.com
Tue May 30 20:50:13 UTC 2006


Hi,

I'm trying to setup Wiki 1.6.X to use email notification.

In my LocalSettings file:

$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "wiki at castortech.com";
$wgPasswordSender	= "wiki at castortech.com";

$wgSMTP is giving me problems.

I checked: http://www.mediawiki.org/wiki/Help:%24wgSMTP but I'm not sure
how to set it up.

Do I need that PEAR thing?

I use an external SMTP server with my backup app and I only had to tell
it the name and port of the server.

Do I only need host and port or everything? And Must I keep the "" where
they are?

$wgSMTP = array(
 'host'     => "localhost",
 'IDHost'   => "domain for MessageID",
 'port'     => 25,
 'auth'     => false,
 'username' => "my_user_name",
 'password' => "my_password"
);

Thanks!
Simon



More information about the MediaWiki-l mailing list