On Tue, May 17, 2011 at 11:35 AM, KAMOHELO MOFOKENG
<[email protected]>wrote:

> I'm new to PHP & I'm trying to send mail using PHPMailer & I get the
> following error:
>
> line 119 in UserMailer.php is:
> require_once(' ');
>

Don't do that. :) Leave the line as it is and do not attempt to change it.


> When I leave the default require_once ('mail.php'), my error becomes:
>

Do you mean require_once('Mail.php') ? Case can be significant.


>
> ****************************************************************************
> Fatal error: Class 'Mail' not found in
> C:\xampp\htdocs\mediawiki\includes\UserMailer.php on line 154
>
>
> ****************************************************************************
>

Confirm that you do in fact have the PEAR::Mail library installed in your
PHP include_path, and that there isn't some _other_ "Mail.php" or "mail.php"
sitting around within your include_path that's being included instead.

-- brion
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to