[Mediawiki-l] Trouble using external smtp server

Brion Vibber brion at pobox.com
Tue Feb 7 19:09:39 UTC 2006


Matt Morgan wrote:
> Wherever I set $wgSMTP (I tried LocalSettings.php,
> DefaultSettings.php, and in the function itself in UserMail.php--I
> realize they should all have the same effect and that LocalSettings is
> preferred), mail seems to break. For example, when I try to mail
> myself my password on the login/create account page, I just get a
> blank page (after clicking the "mail me a new password" button) and no
> mail ever arrives.

Check PHP's error log. (Try to configure one if you can.) It's probably showing
a fatal error because it can't find PEAR::Mail.

Make sure it's installed, and add the directory into the include_path that's set
in LocalSettings.php.

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060207/fe70673a/attachment.pgp 


More information about the MediaWiki-l mailing list