Topic on Extension talk:ConfirmAccount

Using SMTP Authentication Causes 500 Error

1
Summary by Lewishackfath

Configuration Error in the PHP.INI file.

Fixed the issue

Lewishackfath (talkcontribs)

Hello,

I am using this plugin with mediawiki V1.26 and it has been working for sometime.

However I now wish to use SMTP authentication.

I add the following to the localsettings.php

$wgSMTP = array(

'host'     => "####", // could also be an IP address. Where the SMTP server is located

'IDHost'   => "####",      // Generally this will be the domain name of your website (aka mywiki.org)

'port'     => ###,                 // Port to use when connecting to the SMTP server

'auth'     => true,               // Should we use SMTP authentication (true or false)

'username' => "####",     // Username to use for SMTP authentication (if being used)

'password' => "####"       // Password to use for SMTP authentication (if being used)

);

replace the ### with the correct information and save the file.

Whenever I then go to request an account as a test, whenever it goes to send an email I get a 500 error.

Can anyone help me solve this please.