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
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 365
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 450
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 467
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 474
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 517
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 521
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 249
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Mail\smtp.php on line 285
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 952
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 955
Strict Standards: Non-static method Mail_RFC822::parseAddressList() should not be called
statically, assuming $this from incompatible context in C:\xampp\php\pear\Mail.php on line
253
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 982
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 985
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1063
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1066
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1126
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1136
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 1141
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 491
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 265
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 494
Strict Standards: Non-static method PEAR::isError() should not be called statically,
assuming $this from incompatible context in C:\xampp\php\pear\Net\SMTP.php on line 497
Strict Standards: Non-static method PEAR::isError() should not be called statically in
C:\xampp\htdocs\wiki\includes\UserMailer.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 78
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 78
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 78
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 38
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 38
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\php\pear\Net\SMTP.php:265) in C:\xampp\htdocs\wiki\includes\WebResponse.php on
line 38
Thank You,
Douglas E. Mills
IT Administrator
Notify Technology Corporation
330-702-3070 x189
dmills@notifycorp.com<mailto:dmills@notifycorp.com>