Last modified: 2005-12-12 05:00:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3250 - E-Mail doesn't work
E-Mail doesn't work
Status: RESOLVED DUPLICATE of bug 4134
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows XP
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-08-24 09:48 UTC by slakkie
Modified: 2005-12-12 05:00 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description slakkie 2005-08-24 09:48:37 UTC

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!
Comment 1 T. Gries 2005-08-24 17:09:24 UTC
This is _only_ needed, if you use the PEAR:Mail module. Usually, it is not needed
Comment 2 slakkie 2005-08-25 06:05:46 UTC
(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
Comment 3 T. Gries 2005-08-25 06:11:42 UTC
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).
Comment 4 slakkie 2005-08-25 06:51:27 UTC
(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
Comment 5 slakkie 2005-08-25 06:57:25 UTC
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!
Comment 6 Brion Vibber 2005-12-12 05:00:56 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.