Matt Morgan wrote:
Wherever I set $wgSMTP (I tried
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