Trying to use SMTP to send emails. I have installed pear and put the settings in LocalSettings.php but I still get the Pear mail package not installed - I must be missing something.
MediaWiki 1.19.1 PHP 5.2.6 (apache2handler) MySQL 5.0.67
$wgSMTP = array( 'host' => "mail.server.location", // could also be an IP address. Where the SMTP server is located 'IDHost' => "mywiki.org", // Generally this will be the domain name of your website (aka mywiki.org) 'port' => 25, // Port to use when connecting to the SMTP server 'auth' => true, // Should we use SMTP authentication (true or false) 'username' => "username", // Username to use for SMTP authentication (if being used) 'password' => "passwd" // Password to use for SMTP authentication (if being used) );
Output of pear list
Package Version State Archive_Tar 1.3.2 stable Auth_SASL 1.0.6 stable Console_Getopt 1.2.3 stable Log 1.9.11 stable Mail 1.2.0 stable Mail_Mime 1.8.7 stable Net_SMTP 1.6.1 stable Net_Socket 1.0.10 stable PEAR 1.7.1 stable Structures_Graph 1.0.2 stable
I have restarted apache to no avail. I have not yet rebooted the whole server.
Any help appreciated.