Firstly, I write this in Localsettings: //2014-5-20 ---smtp,email $wgSMTP = array(
'host' => 'ssl://smtp.gmail.com', 'IDHost' => 'gmail.com', 'port' => 465, 'username' => 'myaddressg@gmail.com', 'password' => 'mypsw', 'auth' => true );
And then I do this : install pear mail install pear net_smtp
Unfortunately, the wiki shows that error message as: Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]
I do this later according to some advice from others: sudo pear install Auth_SASL2-0.1.0 sudo pear install mail_mime sudo apt-get install postfix
The error message never disappear.
I try the whole process in two new server, and the mail function never work successfully.
Can anyone help me ? Thank you a million !!!