KAMOHELO MOFOKENG wrote:
Hi Tim,
Well explained, bells to you!!!
I'm trying to send mail using gmail server, with the code:
$wgSMTP = array(
'host' => 'ssl://smtp.gmail.com',
'IDHost' => 'mywiki.com',
'port' => 465,
'username' => 'gmail_username',
'password' => 'gmail_password',
'auth' => true
);
I have OpenSSL Support& cURL Support enabled (reflected in the phpinfo()).
I initially thought that I was knocking at the wrong door but now I think that although I
might be at the right door - I'm not invited to the party. How do I get the invite?
The new error mesage I get is:
SMTP -> ERROR: Failed to connect to server: No connection could be made because the
target machine actively refused it. (10061)
THANK YOU
The settings look right (not sure if IDHost does anything or not). So
discarding that gmail servers might be down, maybe your server has a
firewall blocking your outbound attempt?