Last modified: 2005-12-12 05:00:56 UTC
Hallo I have installed the new Version 1.4.8. The file \includes\usermailer.php has and line namely: require_once( 'Mail.php' ); But where is this file located? Is it missing in the distribution or is this functionality not yet implemented. I recon that no e-mailing is working because of this? Some short info on this would be really helpful. Thank you!
This is _only_ needed, if you use the PEAR:Mail module. Usually, it is not needed
(In reply to comment #1) > This is _only_ needed, if you use the PEAR:Mail module. Usually, it is not needed Hi Tom Thanks for the info. I use Xampp to test Mediawiki with. Xampp comes with PEAR:Mail also. But it still doesn’t work. If it is not using mail.php what does it uses? Or should one configure it that it doesn’t use the PEAR module? Kind regards
Dear Slakkie, as you can understand from the UserMailer.php module, MediaWiki can use two different methods when sending mail. I _never_ touched or used the first (in that module), which is active when you have $wgSMTP set to something. After studying this part, it appears to me, that the require_once('Mail.php') instruction is wrong - or mus tbe adapted to point to the correct location of Mail.php (I think, this is a module from PEAR:Mail) Therefore, you most certainly need to change the instruction slightly, so that UserMailer can find the module (of PEAR).
(In reply to comment #3) Hi Tom As I could not find any configuration settings or path settings which had to be made, that is what I thought as well and why I gave up the bug in the first place. But I was not totally sure if I am wrong or not. Maybe it is a good idea to move all the mail path settings for the e-mail configuration also to the configuration file. Oh well I am glad if I could help you find and fix another bug. Kind regards
Hi Tom I have tried without using $wgSMTP, it uses then the default PHP.ini settings correctly. But as soon as one enter an array value for the $wgSMTP it tries to use the PEAR module which is then not founded because of a path error. Good luck!
I'm duping this to bug 4134, which is a bit more succinct about what's required. *** This bug has been marked as a duplicate of 4134 ***