Hi Chad, That's a bummer.
Per my e-mail that I sent as this one came in, I was able to successfully get the e-mails to go out, however my page is still showing all of the errors mentioned below. Is there a way I can suppress these errors so my users don't see them? Thank You, Douglas E. Mills IT Administrator Notify Technology Corporation 330-702-3070 x189 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chad Sent: Thursday, October 18, 2012 3:10 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] SMTP Setup Issues On Thu, Oct 18, 2012 at 2:52 PM, Mills, Douglas <[email protected]> wrote: > To whom it may concern, > > I was in the IRC channel and sumanah had recommended that I inquire about my > issue via the mailing list, so here goes. I am trying to set up SMTP use for > my MediaWiki Server. I am running Windows Server 2008. I have installed all > of the Pear Mail modules to get this running, however when I enter the > variables for $wgSMTP I am getting several lines of errors. > > SMTP is running on my local machine and does not require any form of > authentication: > $wgEmailEmail = true; > $wgEnableUserEmail = true; > > $wgSMTP = array( > 'host' => "localhost", //could also be an IP address 'IDHost' => > "wiki.notify.net", 'port' => 25, 'auth' => false ); > > However, when I create a new account, attempt to send the e-mail for a > password reset, I am getting the following errors: > > > Strict Standards: Non-static method Mail::factory() should not be > called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on > line 245 > > Strict Standards: Non-static method PEAR::isError() should not be > called statically in C:\xampp\htdocs\wiki\includes\UserMailer.php on > line 246 The PEAR Mailer docs are horrible, and don't match what the code actually does. Mail::factory() isn't actually static, even though it's supposed to be (and the docs tell you to do it that way). We should probably fix this, somehow. -Chad _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
